summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2021-04-06 17:38:00 +0200
committerJonathan Bauer2021-04-06 17:38:00 +0200
commitfff489b423d0d738a57e7a511d9f1eabcab0882f (patch)
tree910989bb1185a645bb5fc5ef64641ec7609de470
parent[inc/useradd] quote things (diff)
parent[inc/useradd] do not overwrite USER (diff)
downloadmltk-fff489b423d0d738a57e7a511d9f1eabcab0882f.tar.gz
mltk-fff489b423d0d738a57e7a511d9f1eabcab0882f.tar.xz
mltk-fff489b423d0d738a57e7a511d9f1eabcab0882f.zip
Merge branch 'master' into installer
-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 011ab184..7b9a4fbc 100644
--- a/core/includes/useradd.inc
+++ b/core/includes/useradd.inc
@@ -218,6 +218,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"