mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00: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:
parent
e3b1fd298a
commit
edda041093
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue