summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclient/engine/Boot.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib
index 2ca6577a..81f28f83 100755
--- a/client/engine/Boot.lib
+++ b/client/engine/Boot.lib
@@ -1915,7 +1915,7 @@ if [ "$(basename $CFGFILE)" == "refind.conf" ]; then
else
# En grub y burg las lĂ­neas empiezan a contar desde cero
let MENUENTRY=$MENUENTRY-1
- sed --regexp-extended -i s/"set default=\"?[0-9]*\"?"/"set default=\"$MENUENTRY\""/g $CFGFILE
+ sed --regexp-extended -i s/"set default=\"?[0-9]*\"?$"/"set default=\"$MENUENTRY\""/g $CFGFILE
fi
MSG="MSG_HELP_$FUNC"
echo "${!MSG%%\.}: $@"