summaryrefslogtreecommitdiffstats
path: root/ifplugd
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2010-02-18 10:13:02 +0100
committerJames Rayner <james@archlinux.org>2010-02-18 10:13:02 +0100
commita7a6ffd3b336634a9669d5db7facba1b2e75b125 (patch)
treeb0f93534443e57d51f0ab805d519860b19bbcdb4 /ifplugd
parentefa70f13b2ed20632ff3e06c885f60de6033bde7 (diff)
downloadnetctl-a7a6ffd3b336634a9669d5db7facba1b2e75b125.tar.gz
netctl-a7a6ffd3b336634a9669d5db7facba1b2e75b125.tar.xz
fix FS#17190 properly
Diffstat (limited to 'ifplugd')
-rwxr-xr-xifplugd/netcfg.action5
1 files changed, 3 insertions, 2 deletions
diff --git a/ifplugd/netcfg.action b/ifplugd/netcfg.action
index f288b01..cffcdf5 100755
--- a/ifplugd/netcfg.action
+++ b/ifplugd/netcfg.action
@@ -29,8 +29,9 @@ case "$2" in
) || exit 0; done
for profile in "${static_profiles[@]}"; do (
load_profile "$profile"
- netcfg "$profile" && exit 0
- ) done
+ netcfg "$profile" && exit 1
+ exit 0
+ ) || exit 0; done
exit 1
;;
down)