adjust
This commit is contained in:
parent
cc880e8514
commit
49a2472c52
|
@ -12,7 +12,7 @@ print_help() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$#" -ne 4 ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then
|
if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then
|
||||||
print_help
|
print_help
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ for share in "${share_array[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if $all_ok; then
|
if $all_ok; then
|
||||||
echo "OK - All specified shares are exported on $host | share_count=$share_count"
|
echo "OK - All $share_count shares are exported on $host | share_count=$share_count"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue