From d899e12f57b509d729e7a83c427ce7fc1ace5ea7 Mon Sep 17 00:00:00 2001 From: justmarvinn Date: Wed, 11 Jun 2025 12:43:52 +0200 Subject: [PATCH] fixed paths --- cleanup_and_isntall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanup_and_isntall.sh b/cleanup_and_isntall.sh index 0372c50..5e6a27c 100644 --- a/cleanup_and_isntall.sh +++ b/cleanup_and_isntall.sh @@ -10,7 +10,7 @@ show_cron_menu() { # force run from root user if [[ $EUID -ne 0 ]]; then - exec sudo "$0" "$@" + exec sudo bash "$(realpath $0)" "$@" fi # cleanup old files