sys-user.eclass: fix killer typo in variable name.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 29 Aug 2017 19:18:28 +0000 (15:18 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 29 Aug 2017 19:18:28 +0000 (15:18 -0400)
eclass/sys-user.eclass

index c328bbd3e5cb2ae1c2b47821f82496a915e6457b..7cfffaf123a2e67e82ed41297c94e3a2c2ea2adf 100644 (file)
@@ -252,7 +252,7 @@ sys-user_pkg_preinst() {
                        die "home directory conflict for new user: ${SYS_USER_HOME}"
                fi
 
-               if [[ "${oldhshell}" != "${SYS_USER_SHELL}" ]]; then
+               if [[ "${oldshell}" != "${SYS_USER_SHELL}" ]]; then
                        die "shell conflict for new user: ${SYS_USER_SHELL}"
                fi