summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
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
}