mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-05-29 00:10:53 +00:00
Fixed some spelling mistakes
This commit is contained in:
parent
7f032b16e3
commit
b0578d2541
|
@ -33,7 +33,7 @@
|
||||||
# emmbeded system may claim bash but it is not
|
# emmbeded system may claim bash but it is not
|
||||||
# check for bash like ARRAY handlung
|
# check for bash like ARRAY handlung
|
||||||
if ! (unset a; set -A a a; eval "a=(a b)"; eval '[ -n "${a[1]}" ]'; ) > /dev/null 2>&1; then
|
if ! (unset a; set -A a a; eval "a=(a b)"; eval '[ -n "${a[1]}" ]'; ) > /dev/null 2>&1; then
|
||||||
printf "Error: Current shell does not support ARRAY's, may be busbox ash shell. pls install a real bash!\n"
|
printf "Error: Current shell does not support ARRAY's, may be busybox ash shell. pls install a real bash!\n"
|
||||||
exit 10
|
exit 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# file: run_diskcusage.sh
|
# file: run_diskusage.sh
|
||||||
# example for an background job display a system value
|
# example for an background job display a system value
|
||||||
#
|
#
|
||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
|
@ -37,7 +37,7 @@ fi
|
||||||
|
|
||||||
NEWLINE=$'\n'
|
NEWLINE=$'\n'
|
||||||
|
|
||||||
# output disk usgae every $1 seconds
|
# output disk usage every $1 seconds
|
||||||
WAIT=0
|
WAIT=0
|
||||||
while sleep $WAIT
|
while sleep $WAIT
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user