diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network b/src/network index ce5e962..ebf9ee6 100644 --- a/src/network +++ b/src/network @@ -37,7 +37,8 @@ load_profile() ## Take all registered profiles down. all_down() { - for prof in $(find "$STATE_DIR/profiles/" -maxdepth 1 -type f -printf '%f\n'); do + find "$STATE_DIR/profiles/" -maxdepth 1 -type f -printf '%f\n' \ + | while read prof; do profile_down "$prof" done } |