@@ -827,7 +827,7 @@ done
|
|||||||
flag_reset_exit && { reset-exit; die $?; }
|
flag_reset_exit && { reset-exit; die $?; }
|
||||||
|
|
||||||
# Get the service config
|
# Get the service config
|
||||||
source -- "$service_config" "${@:3}" || die 7 "Failed to read the service config: $service_config"
|
source -- "$service_config" "${@:2}" || die 7 "Failed to read the service config: $service_config"
|
||||||
|
|
||||||
# Rexec ourselves in the requested netns
|
# Rexec ourselves in the requested netns
|
||||||
flag_no_netns || {
|
flag_no_netns || {
|
||||||
@@ -946,6 +946,7 @@ fi
|
|||||||
action || {
|
action || {
|
||||||
flag_reread_service && die 0 # Not a mistake if the service was to be re-read
|
flag_reread_service && die 0 # Not a mistake if the service was to be re-read
|
||||||
usage; die 2; }
|
usage; die 2; }
|
||||||
|
shift
|
||||||
|
|
||||||
# Do we have such a function?
|
# Do we have such a function?
|
||||||
if_service_action "$action" || die 17 "Function $action is not defined for $service_name."
|
if_service_action "$action" || die 17 "Function $action is not defined for $service_name."
|
||||||
|
|||||||
Reference in New Issue
Block a user