move config debugging to debug level 1

This commit is contained in:
Vincent Riquer 2013-03-10 04:30:01 +01:00
parent e1afb6ab28
commit 7328a9e25c

10
atom
View File

@ -970,8 +970,10 @@ then
exit $ENOCFG
fi
getConfig
{
cat <<EOF
if (( debug ))
then
cat <<-EOF
General|Load|$maxload
|Load Interval|$loadinterval
|Temp Dir|$tempdir
@ -985,7 +987,7 @@ do
done
for destination in ${!destinationpath[@]}
do
cat <<EOF
cat <<-EOF
$destination|Path|${destinationpath[$destination]}
|Format|${destinationformat[$destination]}
|Quality|${destinationquality[$destination]}
@ -1000,7 +1002,7 @@ echo "|Skipped mime-type|${destinationskipmime[$destination]//\|/
echo "|Copied mime-type|${destinationcopymime[$destination]//\|/
|Copied mime-type|}"
done
}|column -t -s'|' -n
fi |column -t -s'|' -n
openDatabase