commit f23890ef2c068fe6572f9be9a1eb8650f416ac88
parent 6699a22d7a18b8b69d3860d93be364b213776478
Author: breadcat <breadcat@users.noreply.github.com>
Date: Tue, 29 Jul 2025 16:26:49 +0100
Stagit likes to get handsy with other directories
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.sh b/server.sh
@@ -2,7 +2,7 @@
# functions
function find_directory {
- find "$directory_home" -maxdepth 3 -mount -type d -name "$1" 2>/dev/null
+ find "$directory_home" -maxdepth 3 -mount -type d -name "$1" -not -path "*/docker/stagit/*" 2>/dev/null
}
function find_remote {
rclone listremotes | awk -v remote="$1" '$0 ~ remote {print $0;exit}'