git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright years.
[libguestfs.git]
/
capitests
/
test-command.c
diff --git
a/capitests/test-command.c
b/capitests/test-command.c
index
7a3e64b
..
e5cdc93
100644
(file)
--- a/
capitests/test-command.c
+++ b/
capitests/test-command.c
@@
-57,12
+57,12
@@
main (int argc, char *argv[])
printf ("Result11-1\nResult11-2");
} else {
fprintf (stderr, "unknown parameter: %s\n", argv[1]);
printf ("Result11-1\nResult11-2");
} else {
fprintf (stderr, "unknown parameter: %s\n", argv[1]);
- exit (
1
);
+ exit (
EXIT_FAILURE
);
}
} else {
fprintf (stderr, "missing parameter\n");
}
} else {
fprintf (stderr, "missing parameter\n");
- exit (
1
);
+ exit (
EXIT_FAILURE
);
}
}
- exit (
0
);
+ exit (
EXIT_SUCCESS
);
}
}