typo in backupninja.1
[matthijs/upstream/backupninja.git] / handlers / makecd
index b176994e9f02531a4486c4a693ed3ac8ce4ba7f8..cdfa6b1a631535d13666cb30624440241eca9a6e 100644 (file)
@@ -10,6 +10,7 @@ getconf system no
 getconf isoonly yes
 getconf imagefile backup.iso
 getconf device
+getconf nicelevel 0
 
 # define needed executables:
 MKISOFS="/usr/bin/mkisofs"
@@ -35,7 +36,7 @@ if [ "$isoonly" == "no" ]; then
 fi
 
 outputfile="$backupdir/$imagefile"
-execstr="$MKISOFS --quiet -R -o $outputfile "
+execstr="nice -n $nicelevel $MKISOFS --quiet -R -o $outputfile "
 
 str=""
 # excludes