Skip to content

Commit

Permalink
Fixed an error in display message (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
HanLiQL authored Oct 15, 2024
1 parent dbaff71 commit 4f88c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if [ -f "$users" ] && [ -s "$users" ]; then

else

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

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

0 comments on commit 4f88c26

Please sign in to comment.