summarylogtreecommitdiffstats
path: root/os-prober-disable-debug.patch
blob: 9811f6287600d941504b23e31bc0f3e1e865589d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
 }