fixed paths
This commit is contained in:
parent
4a40462cbc
commit
d899e12f57
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user