Browse Source

Fix user remove

Bryan Roessler 1 week ago
parent
commit
fd5c2b91c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/usr/local/bin/script-user-remove

+ 1 - 1
scripts/usr/local/bin/script-user-remove

@@ -11,7 +11,7 @@ is_root
 if [[ $# -eq 1 ]]; then
   user="$1"
 else
-  prompt user
+  user=$(prompt user)
 fi
 
 if ! id -u "$user" &>/dev/null; then