Merge pull request #1338 from kauedg/dps-patch-1

call $0 instead of hardcoded script name
This commit is contained in:
Marco Ochse 2023-06-01 13:28:04 +02:00 committed by GitHub
commit bd12e1a4c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ fi
myPARAM="$1"
if [[ $myPARAM =~ ^([1-9]|[1-9][0-9]|[1-9][0-9][0-9])$ ]];
then
watch --color -n $myPARAM "dps.sh"
watch --color -n $myPARAM "$0"
exit
fi