lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 0401b20: Fix defect introduced 20200611T1904Z


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0401b20: Fix defect introduced 20200611T1904Z: missing argument
Date: Sat, 13 Jun 2020 19:03:48 -0400 (EDT)

branch: master
commit 0401b2069ca0969e3800340d8e70528fe46bb00c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Fix defect introduced 20200611T1904Z: missing argument
    
    Added a required argument omitted in commit 9ef51abc11.
---
 lmi_setup_24.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lmi_setup_24.sh b/lmi_setup_24.sh
index 90ef718..14e6e8f 100755
--- a/lmi_setup_24.sh
+++ b/lmi_setup_24.sh
@@ -59,7 +59,7 @@ useradd \
 
 # Try to make the "normal" user's UID match its UID on the host.
 if [ "${NORMAL_USER}" = "${user}" ]; then
-  usermod -u "${NORMAL_USER_UID}" || echo "Oops."
+  usermod -u "${NORMAL_USER_UID}" "${NORMAL_USER}" || echo "Oops."
 fi
 
 usermod -aG lmi  "${user}" || echo "Oops."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]