Skip to content

Commit

Permalink
fails gracefully if image argument is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbochi committed Aug 16, 2016
1 parent 60beb9a commit 39937b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drun
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ done
shift $((OPTIND-1))

if [ -z "${IMAGE:-}" ]; then
IMAGE=$1
IMAGE="${1:-}"
[ -z "$IMAGE" ] && usage
shift
fi
Expand Down

0 comments on commit 39937b0

Please sign in to comment.