commit:     28c3b424687a0e68f0ebc9f53105bcf0a5cac1bf
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 17:17:43 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 16:26:51 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=28c3b424

initrd.scripts: is_debug(): Mark local variable as such

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 defaults/initrd.scripts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to