mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
some args are optional, do not return errors
This commit is contained in:
parent
af22962bbe
commit
eb80d3c68a
@ -75,10 +75,6 @@ doGetOpt()
|
||||
echo "Invalid option: -$OPTARG" >&2
|
||||
exit 1
|
||||
;;
|
||||
:)
|
||||
echo "Option -$OPTARG requires an argument." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
@ -256,6 +252,7 @@ case $cmd in
|
||||
echo "clean delete configuration"
|
||||
echo "success store update success"
|
||||
echo "failed store update failure"
|
||||
echo "get-nat return the detected nat type"
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user