Ignore when useradd throws an error because it cannot handle
-k /dev/null (happens at least in Suse distributions)
This commit is contained in:
parent
f6ac40603a
commit
9dd4cccfb0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ chapter4_Makefiles() { #
|
|||
|
||||
021-addinguser: 020-creatingtoolsdir
|
||||
@\$(call echo_message, Building)
|
||||
@if [ ! -d \$(LUSER_HOME) ]; then \\
|
||||
@-if [ ! -d \$(LUSER_HOME) ]; then \\
|
||||
groupadd \$(LGROUP); \\
|
||||
useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
|
||||
else \\
|
||||
|
|
Reference in a new issue