diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-06 00:49:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-06 14:21:10 +0100 |
commit | 592fd144ae313855f48d0ca52a103013b41e5d59 (patch) | |
tree | 45f239ffa2dc6fb375785d8e8a3ddbda78c829e4 /src/test/test-architecture.c | |
parent | 58f2fab16da947052756b7f9ace40f6ee7fa1519 (diff) |
condition: properly allow passing back errors from condition checks
Diffstat (limited to 'src/test/test-architecture.c')
-rw-r--r-- | src/test/test-architecture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test-architecture.c b/src/test/test-architecture.c index 24217ad369..30bdec45e5 100644 --- a/src/test/test-architecture.c +++ b/src/test/test-architecture.c @@ -25,9 +25,8 @@ #include "log.h" int main(int argc, char *argv[]) { - Architecture a; - int v; const char *id = NULL; + int a, v; v = detect_virtualization(&id); if (v == -EPERM || v == -EACCES) |