diff --git a/lib/util-menu.sh b/lib/util-menu.sh index aef2814..cc9a349 100644 --- a/lib/util-menu.sh +++ b/lib/util-menu.sh @@ -341,7 +341,7 @@ edit_configs() { if [[ $FILE != "" ]]; then nano $FILE - if [[ $FILE="${MOUNTPOINT}/etc/mkinitcpio.conf" ]]; then + if [[ $FILE == "${MOUNTPOINT}/etc/mkinitcpio.conf" ]]; then dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "${_MMRunMkinit}?" 0 0 && { run_mkinitcpio 2>$ERR check_for_error "run_mkinitcpio" "$?" edit_configs