From dcce1b290afc250227eb66b964f8d4070ba39591 Mon Sep 17 00:00:00 2001 From: madmalkav Date: Fri, 12 Sep 2025 19:26:42 +0200 Subject: [PATCH] Change --force to -f for compatibility Docker image runs BusyBox, if we want to run pdsadmin from within the docker image, rm --force will fail. Changed to rm -f as it is the POSIX way. --- pdsadmin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdsadmin.sh b/pdsadmin.sh index 913d2b4..a899de4 100644 --- a/pdsadmin.sh +++ b/pdsadmin.sh @@ -26,5 +26,5 @@ fi chmod +x "${SCRIPT_FILE}" if "${SCRIPT_FILE}" "$@"; then - rm --force "${SCRIPT_FILE}" + rm -f "${SCRIPT_FILE}" fi -- 2.51.2