summaryrefslogtreecommitdiff
path: root/setup-user.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-user.in')
-rw-r--r--setup-user.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-user.in b/setup-user.in
index 82c2f38..a61749c 100644
--- a/setup-user.in
+++ b/setup-user.in
@@ -38,6 +38,10 @@ while getopts "af:g:hk:u" opt; do
done
shift $(($OPTIND - 1))
+if [ -z "$admin$fullnameopt$groups$keysopt$forceunlock" ] && [ "$1" = "none" ]; then
+ exit 0
+fi
+
if [ $# -gt 1 ]; then
usage "1" >&2
elif [ $# -eq 1 ]; then