summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/includes/useradd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/includes/useradd.inc b/core/includes/useradd.inc
index 2beaaeae..b5a7aaf3 100644
--- a/core/includes/useradd.inc
+++ b/core/includes/useradd.inc
@@ -207,6 +207,7 @@ add_group () {
init_users_and_groups() {
[ -z "$TARGET_BUILD_DIR" -o "$TARGET_BUILD_DIR" == "/" ] && perror "Almost wrecked your local passwd, group and shadow file. phew."
+ local USER
local PASSWD="$TARGET_BUILD_DIR/etc/passwd"
local GROUP="$TARGET_BUILD_DIR/etc/group"
local SHADOW="$TARGET_BUILD_DIR/etc/shadow"