Take a group name on the command-line if available.
This commit is contained in:
parent
e86ab4813c
commit
073972f1a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262910
@ -65,6 +65,14 @@ f_dialog_title "$msg_delete $msg_group"
|
||||
f_dialog_backtitle "${ipgm:+bsdconfig }$pgm"
|
||||
f_mustberoot_init
|
||||
|
||||
#
|
||||
# If given a group name, operate on it and exit
|
||||
#
|
||||
if [ "$1" ]; then
|
||||
f_group_delete "$1"
|
||||
exit $SUCCESS
|
||||
fi
|
||||
|
||||
#
|
||||
# Loop until the user Exits, Cancels or presses ESC
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user