Disable debugging if OS_PROBER_DISABLE_DEBUG is set (thanks, Hedayat
Vatankhah; closes: #698598).
}
debug() {
- log "debug: $@"
+ if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then
+ log "debug: $@"
+ fi
}
result () {
Vatankhah; closes: #698733).
* Make the yaboot parser more tolerant about the syntax of "append"
options (thanks, Hedayat Vatankhah; closes: #674561).
+ * Disable debugging if OS_PROBER_DISABLE_DEBUG is set (thanks, Hedayat
+ Vatankhah; closes: #698598).
-- Colin Watson <cjwatson@debian.org> Sat, 31 Dec 2016 17:11:49 +0000
type="$3"
debug() {
- logger -t macosx-prober "debug: $@"
+ if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then
+ logger -t macosx-prober "debug: $@"
+ fi
}
# Weed out stuff that doesn't apply to us