aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-20 18:17:43 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-21 17:26:51 +0100
commit28c3b424687a0e68f0ebc9f53105bcf0a5cac1bf (patch)
tree5e579813a16617e8ba60a6135d5c480b9964c5c2
parentlinuxrc: Use same $CRYPT_SILENT style (diff)
downloadgenkernel-28c3b424687a0e68f0ebc9f53105bcf0a5cac1bf.tar.gz
genkernel-28c3b424687a0e68f0ebc9f53105bcf0a5cac1bf.tar.bz2
genkernel-28c3b424687a0e68f0ebc9f53105bcf0a5cac1bf.zip
initrd.scripts: is_debug(): Mark local variable as such
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--defaults/initrd.scripts2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index d68875b..8dcb9e2 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -592,7 +592,7 @@ conf_rc_no_umounts() {
}
is_debug() {
- is_debug=1
+ local is_debug=1
if [ -f "${GK_DEBUGMODE_STATEFILE}" ]
then