summaryrefslogtreecommitdiffstats
path: root/scripts/netcfg-menu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/netcfg-menu')
-rwxr-xr-xscripts/netcfg-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/netcfg-menu b/scripts/netcfg-menu
index f7c9019..a62838a 100755
--- a/scripts/netcfg-menu
+++ b/scripts/netcfg-menu
@@ -53,7 +53,7 @@ case $ret in
(( ret == 0 )) && echo "$DEFAULT" > "$STATE_DIR/menu"
;;
0) # User selection
- profile_up "$(cat "$ANSWER")"
+ profile_up "$(< "$ANSWER")"
ret=$?
(( ret == 0 )) && mv "$ANSWER" "$STATE_DIR/menu"
;;