Package: os-prober Version: 1.57 Tags: patch
This bug is reported by one of our users, and also the patch is provided by him. And this is his comments on the provided patch:
Currently, os-prober generates a great deal of debug messages to syslog. While these are certainly useful when debugging, they are just cluttering the syslog when not debugging.
The attached patch requires that OS_PROBER_ENABLE_DEBUG be set to have the output.
diff -ur os-prober-1.56-orig/common.sh os-prober-1.56/common.sh --- os-prober-1.56-orig/common.sh 2012-12-26 13:53:55.962187097 -0500 +++ os-prober-1.56/common.sh 2013-01-10 08:25:14.843206268 -0500 @@ -76,7 +76,9 @@ } debug() { - log "debug: $@" + if [ -n "$OS_PROBER_ENABLE_DEBUG" ]; then + log "debug: $@" + fi } result () {