summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-15 14:33:08 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-15 14:33:08 -0800
commite4cb7995ab7ffb0326e35ef15e6314abeabecd16 (patch)
tree50eb00ae38dd8baed659cf5117d5cb243914a29f /src
parent228098ba3f821130ab17eaf109136e27fa7d1a5d (diff)
rototiller: print setup error cause
This area needs more work, but this helps a little.
Diffstat (limited to 'src')
-rw-r--r--src/rototiller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rototiller.c b/src/rototiller.c
index 46882f9..7ad1624 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -399,7 +399,7 @@ int main(int argc, const char *argv[])
return print_help() < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
exit_if((r = setup_from_args(&args, &setup)) < 0,
- "unable to setup");
+ "unable to setup: %s", strerror(-r));
exit_if(r && print_setup_as_args(&setup) < 0,
"unable to print setup");
© All Rights Reserved