Browse Source

Fix user remove

Bryan Roessler 1 tuần trước cách đây
mục cha
commit
fd5c2b91c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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