aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenkernel4
1 files changed, 2 insertions, 2 deletions
diff --git a/genkernel b/genkernel
index 0111a32..676471c 100755
--- a/genkernel
+++ b/genkernel
@@ -211,7 +211,7 @@ else
echo
else
print_info 1 "mount: ${BOOTDIR} remounted read/write successfully!"
- BOOTRW=1
+ BOOTRW="yes"
fi
fi
fi
@@ -393,7 +393,7 @@ then
unset CONFGREP
fi
-[ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR}
+isTrue "${BOOTRW}" && mount -o remount,ro ${BOOTDIR}
echo
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'