diff --git a/filebrowser/removeusers.txt b/filebrowser/removeusers.txt index 6aba88d..e69de29 100644 --- a/filebrowser/removeusers.txt +++ b/filebrowser/removeusers.txt @@ -1,3 +0,0 @@ -luca -aaaa -prova diff --git a/functions/remove_smb_user.sh b/functions/remove_smb_user.sh index ee61ad6..ca1892d 100755 --- a/functions/remove_smb_user.sh +++ b/functions/remove_smb_user.sh @@ -28,7 +28,7 @@ bash $SMB_TOOLS_PATH/functions/list_smb_shares.sh $USERNAME | while IFS= read -r # Skip empty lines [ -z "$line" ] && continue - bash $SMB_TOOLS_PATH/functions/remove_share.sh "$line" + bash $SMB_TOOLS_PATH/functions/remove_share.sh "$line" "$USERNAME" done # #################################################################### @@ -64,4 +64,4 @@ if [ -f "$log_file" ]; then fi # Non-blocking docker restart -docker restart filebrowser /dev/null & \ No newline at end of file +docker restart filebrowser /dev/null &