change
This commit is contained in:
parent
49a2472c52
commit
3ee2e223a9
|
@ -12,6 +12,11 @@ print_help() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! command -v showmount &> /dev/null; then
|
||||||
|
echo "UNKNOWN - 'showmount' is not installed"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then
|
if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then
|
||||||
print_help
|
print_help
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue