From a75ffb672bd4982d643956259b92469a244f1a81 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 12 Nov 2024 02:20:20 +0530 Subject: [PATCH] Fix status code output in get function --- src/scripts/unix.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scripts/unix.sh b/src/scripts/unix.sh index f6bf0845..3abff78b 100644 --- a/src/scripts/unix.sh +++ b/src/scripts/unix.sh @@ -86,12 +86,10 @@ get() { else lock_path="$file_path.lock" until sudo mkdir "$lock_path" 2>/dev/null; do - echo "Another process is downloading a file at $file_path, waiting" sleep 1 done if [ "$execute" = "-e" ]; then until [ -z "$(fuser "$file_path" 2>/dev/null)" ]; do - echo "Waiting for other processes to stop using $file_path..." sleep 1 done fi