projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900f269
)
added value for loglevel
author
Elijah Saxon
<elijah@riseup.net>
Tue, 4 Jan 2005 17:50:00 +0000
(17:50 +0000)
committer
Elijah Saxon
<elijah@riseup.net>
Tue, 4 Jan 2005 17:50:00 +0000
(17:50 +0000)
backupninja
patch
|
blob
|
history
diff --git
a/backupninja
b/backupninja
index 3b3b16d0b363bb17ad7ea93a875d08a03feecc73..962ff899543336621a37896cf9204fc10a9613b8 100755
(executable)
--- a/
backupninja
+++ b/
backupninja
@@
-81,7
+81,7
@@
function printmsg() {
echo -e "${color}$typestr: $@${endcolor}" >&2
fi
- if [
"$print" -lt "$loglevel"
]; then
+ if [
$print -lt $loglevel
]; then
if [ -w "$logfile" ]; then
echo -e "${color}$typestr: $@${endcolor}" >> $logfile
fi
@@
-293,6
+293,7
@@
function process_action() {
setupcolors
conffile="/etc/backupninja.conf"
+loglevel=3
## process command line options