summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-02-26 12:00:34 +0100
committerJames Rayner <james@archlinux.org>2009-02-26 12:00:34 +0100
commit2dcde41c5a8390781b2967e9cb2eda5e4f445f40 (patch)
tree52f27d21e8bbe9bef9a6dab6ec2e076870847fd3 /src/network
parentf9541f7c7353e5daf43342f11aca01c860902f5d (diff)
downloadnetctl-2dcde41c5a8390781b2967e9cb2eda5e4f445f40.tar.gz
netctl-2dcde41c5a8390781b2967e9cb2eda5e4f445f40.tar.xz
FS#13492 - correct find command in all_down
Diffstat (limited to 'src/network')
-rw-r--r--src/network3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network b/src/network
index 1011c9d..88ae1b0 100644
--- a/src/network
+++ b/src/network
@@ -51,7 +51,8 @@ validate_profile()
#
all_down()
{
- for prof in find "$STATE_DIR/profiles" -maxdepth 1 -type f; do
+ for prof in "$(find ${STATE_DIR}/profiles/ -maxdepth 1 -type f -printf '%f\n')"; do
+
profile_down $prof
done
}