aboutsummaryrefslogtreecommitdiff
path: root/test/001-error-no-args.test/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/001-error-no-args.test/run.sh')
-rwxr-xr-xtest/001-error-no-args.test/run.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/001-error-no-args.test/run.sh b/test/001-error-no-args.test/run.sh
index fae5bd4..693ea48 100755
--- a/test/001-error-no-args.test/run.sh
+++ b/test/001-error-no-args.test/run.sh
@@ -1,7 +1,6 @@
#!/bin/sh
-${EXECUTABLE} -A
-if [ $? -eq 0 ]; then
+if ${EXECUTABLE} -A ; then
exit 1
else
exit 0