From: Martin Lucina Date: Thu, 20 Nov 2014 10:02:49 +0000 (+0100) Subject: Correct argument parsing in rumprun X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0f24ce30e913f1f09248811693b9ae5eec5ccc69;p=rumpuser-xen.git Correct argument parsing in rumprun Signed-off-by: Martin Lucina --- diff --git a/app-tools/rumprun b/app-tools/rumprun index 980ad5e..53c7259 100755 --- a/app-tools/rumprun +++ b/app-tools/rumprun @@ -192,6 +192,7 @@ run_xen() { # Remaining arguments belong to the application. shift $((OPTIND-1)) [ "$1" = "--" ] && shift + [ $# -lt 1 ] && usage name=${opt_name:-rumprun-$(basename $1)} app=$(realpath $1) shift