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 d0db762..1ca5e32 100755
--- a/scripts/netcfg-menu
+++ b/scripts/netcfg-menu
@@ -50,7 +50,7 @@ case $ret in
255) # timeout - use default
PROFILE=$DEFAULT;;&
0) # User selection
- PROFILE=$(< "$ANSWER");;&
+ read PROFILE < "$ANSWER";;&
255|0)
profile_up "$PROFILE"
ret=$?