aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-03-29 05:29:59 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-03-29 05:29:59 +0100
commit81b10b5208b7bd17b66bb30cdf19804aa2212267 (patch)
treea7e395f65d798673e0373c002f9b66b5ea176ad1
parentAdd special value "default" for --kernel-config parameter (diff)
downloadgenkernel-81b10b5208b7bd17b66bb30cdf19804aa2212267.tar.gz
genkernel-81b10b5208b7bd17b66bb30cdf19804aa2212267.tar.bz2
genkernel-81b10b5208b7bd17b66bb30cdf19804aa2212267.zip
genkernel: Use isTrue for $BOOTRW
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-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'