mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-24 22:53:04 +08:00
Merge pull request #1 from asymetrixs/deb-packaging
Fixed user creation to not copy skel-files
This commit is contained in:
@@ -9,7 +9,7 @@ INSTALLPATH=$BASEPATH/MQTTnetServer
|
|||||||
|
|
||||||
# If user does not exist, create it
|
# If user does not exist, create it
|
||||||
if (( $USEREXISTS == 1 )); then
|
if (( $USEREXISTS == 1 )); then
|
||||||
useradd -d $INSTALLPATH -m -r $USER
|
useradd -d $INSTALLPATH -r $USER
|
||||||
EC=$(echo $?)
|
EC=$(echo $?)
|
||||||
|
|
||||||
if (( $EC == 1 )); then
|
if (( $EC == 1 )); then
|
||||||
|
|||||||
Reference in New Issue
Block a user