diff options
Diffstat (limited to 'os-prober-disable-debug.patch')
-rw-r--r-- | os-prober-disable-debug.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os-prober-disable-debug.patch b/os-prober-disable-debug.patch new file mode 100644 index 000000000000..9811f6287600 --- /dev/null +++ b/os-prober-disable-debug.patch @@ -0,0 +1,14 @@ +Index: os-prober-1.79/common.sh +=================================================================== +--- os-prober-1.79.orig/common.sh ++++ os-prober-1.79/common.sh +@@ -66,7 +66,7 @@ warn() { + } + + debug() { +- if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then ++ if [ "x${OS_PROBER_ENABLE_DEBUG}" = xyes ] || [ "x${OS_PROBER_ENABLE_DEBUG}" = xy ]; then + log "debug: $@" + fi + } + |