projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
created
[matthijs/upstream/backupninja.git]
/
handlers
/
sys
diff --git
a/handlers/sys
b/handlers/sys
index 35a3919b7ac8d7bfb4a1226e5d27a576361a0a92..140db766f128a460fc5fd6b66cd2f20170d356ff 100755
(executable)
--- a/
handlers/sys
+++ b/
handlers/sys
@@
-28,21
+28,21
@@
getconf hardwarefile /var/backups/hardware.txt
if [ "$packages" == "yes" ]; then
if [ ! -x "`which dpkg`" ]; then
if [ "$packages" == "yes" ]; then
if [ ! -x "`which dpkg`" ]; then
-
debug 2
"can't find dpkg, skipping installed packages report."
+
warning
"can't find dpkg, skipping installed packages report."
packages="no"
fi
fi
if [ "$partitions" == "yes" ]; then
if [ ! -x "`which sfdisk`" ]; then
packages="no"
fi
fi
if [ "$partitions" == "yes" ]; then
if [ ! -x "`which sfdisk`" ]; then
-
debug 2
"can't find sfdisk, skipping partition report."
+
warning
"can't find sfdisk, skipping partition report."
partitions="no"
fi
fi
if [ "$hardware" == "yes" ]; then
if [ ! -x "`which discover`" ]; then
partitions="no"
fi
fi
if [ "$hardware" == "yes" ]; then
if [ ! -x "`which discover`" ]; then
-
debug 2
"can't find discover, skipping hardware report."
+
warning
"can't find discover, skipping hardware report."
hardware="no"
fi
fi
hardware="no"
fi
fi