Skip to content

Commit 4f88c26

Browse files
authored
Fixed an error in display message (#19)
1 parent dbaff71 commit 4f88c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samba.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if [ -f "$users" ] && [ -s "$users" ]; then
129129

130130
else
131131

132-
add_user "$config" "$USER" "$UID" "$group" "$GID" "$PASS" || { echo "Failed to add user $username"; exit 1; }
132+
add_user "$config" "$USER" "$UID" "$group" "$GID" "$PASS" || { echo "Failed to add user $USER"; exit 1; }
133133

134134
if [[ "$RW" != [Ff0]* ]]; then
135135
# Set permissions for share directory if new (empty), leave untouched if otherwise

0 commit comments

Comments
 (0)