Browse Source

Show error if no argument is supplied to run command

umbrel-beta
Luke Childs 5 years ago
parent
commit
82a00b5929
  1. 4
      umbrel-dev

4
umbrel-dev

@ -91,6 +91,10 @@ fi
# Run a command inside the development VM
if [[ "$command" = "run" ]]; then
if [ -z ${2+x} ]; then
echo "A second argument is required!"
exit 1
fi
run "$2"
exit
fi

Loading…
Cancel
Save