Fix potential errors in scripts

This commit is contained in:
Abhishek Keshri 2022-08-13 17:11:48 +05:30
parent 8c7f582b53
commit c1493ce604
No known key found for this signature in database
GPG key ID: 87ABE188E6B98D1C
7 changed files with 31 additions and 31 deletions

View file

@ -7,7 +7,7 @@ export LC_ALL=en_US.UTF-8
# @tmux2k-ping-rate 5
current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source $current_dir/utils.sh
source "$current_dir"/utils.sh
ping_function() {
case $(uname -s) in
@ -26,9 +26,9 @@ ping_function() {
main() {
echo $(ping_function)
echo "$(ping_function)"
RATE=$(get_tmux_option "@tmux2k-ping-rate" 5)
sleep $RATE
sleep "$RATE"
}
# run main driver