diff options
Diffstat (limited to 'bin/vex')
-rwxr-xr-x | bin/vex | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ #!/bin/sh # Run a command and print a string to stdout showing pass/fail +if [ "$#" -eq 0 ] ; then + printf >&2 'vex: Need a command\n' + exit 2 +fi "$@" ex=$? case $ex in |