forked from p15670423/monkey
Build: Handle empty usernames
This commit is contained in:
parent
0f133d0b35
commit
019bc56a73
|
@ -154,6 +154,13 @@ if $do_uninstall ; then
|
|||
fi
|
||||
|
||||
if $do_install ; then
|
||||
if [ -z "$username" ] ; then
|
||||
echo "You must supply a username."
|
||||
echo ""
|
||||
echo_help
|
||||
exit 1
|
||||
fi
|
||||
|
||||
install_service "$username"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue