diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-25 21:54:00 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-25 21:54:00 +0100 |
commit | 87b9b80a55d3567e76fc86d3abc7f3cfd6d92e6f (patch) | |
tree | e4ae110f288e430273ecfcc468b6fb51dc5571b1 | |
parent | 2041c0c21ce8db1b191438a071cfed96125d830c (diff) | |
download | fastd-87b9b80a55d3567e76fc86d3abc7f3cfd6d92e6f.tar fastd-87b9b80a55d3567e76fc86d3abc7f3cfd6d92e6f.zip |
Fix shell command exit status message, for real.
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index d62bbf0..93a07d6 100644 --- a/src/shell.c +++ b/src/shell.c @@ -112,7 +112,7 @@ bool fastd_shell_exec(fastd_context_t *ctx, const fastd_peer_t *peer, const char if (WIFSIGNALED(result)) pr_error(ctx, "command exited with signal %i", WTERMSIG(result)); else if (WEXITSTATUS(result)) - pr_warn(ctx, "command exited with status %i", WEXITSTATUS(ret)); + pr_warn(ctx, "command exited with status %i", WEXITSTATUS(result)); else ok = true; } |