summaryrefslogtreecommitdiff
path: root/futility/futility.c
diff options
context:
space:
mode:
Diffstat (limited to 'futility/futility.c')
-rw-r--r--futility/futility.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/futility/futility.c b/futility/futility.c
index 91b7cdc6..60cc9c56 100644
--- a/futility/futility.c
+++ b/futility/futility.c
@@ -319,7 +319,7 @@ int main(int argc, char *argv[], char *envp[])
cmd = find_command(progname);
if (cmd) {
/* Yep, just do that */
- return run_command(cmd, argc, argv);
+ return !!run_command(cmd, argc, argv);
}
/* Parse the global options, stopping at the first non-option. */
@@ -381,7 +381,7 @@ int main(int argc, char *argv[], char *envp[])
argc -= optind;
argv += optind;
optind = 0;
- return run_command(cmd, argc, argv);
+ return !!run_command(cmd, argc, argv);
}
/* Nope. We've no clue what we're being asked to do. */