From bfe4499fb3410075472d3b8e818405eca8b13424 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 May 2025 16:28:24 +0000 Subject: [PATCH] fix --- filebrowser/removeusers.txt | 3 --- functions/remove_smb_user.sh | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) 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 &