Exit on error
This commit is contained in:
parent
d6c0f12e83
commit
c9905f5c4c
|
@ -4,6 +4,8 @@
|
||||||
# files. On Debian, this command is provided by the 'html-xml-utils'
|
# files. On Debian, this command is provided by the 'html-xml-utils'
|
||||||
# package.
|
# package.
|
||||||
|
|
||||||
|
set -e -u
|
||||||
|
|
||||||
usage () {
|
usage () {
|
||||||
echo 'usage: kvmstats.sh [-u K|M|G]'
|
echo 'usage: kvmstats.sh [-u K|M|G]'
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue