mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
call $0 instead of hardcoded script name
Allows the script to work when called from another directory or if the script name changes.
This commit is contained in:

committed by
GitHub

parent
e3b1fd298a
commit
edda041093
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user