Skip to content

Commit af80a65

Browse files
committed
Fix typo in postinst
Signed-off-by: Kunlin Yu <yukunlin@syriusrobotics.com>
1 parent ddf3bd1 commit af80a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SRV_NAME="dbus2http"
77

88
if ! id -u "${USER_NAME}" >/dev/null 2>&1; then
99
echo "Creating user ${USER_NAME} for ${SRV_NAME}..." >&2
10-
useradd -r -s "${USER_SHELL}" -M -U -c "User of service ${SRV_NAME}" "${USER_NAME}"
10+
useradd -r -s "${USER_NAME}" -M -U -c "User of service ${SRV_NAME}" "${USER_NAME}"
1111
fi
1212

1313
chown ${USER_NAME}:${USER_NAME} /opt/cosmos/lib/systemd/system/${SRV_NAME}.service

0 commit comments

Comments
 (0)