Used Carl's super-cool shell script shorthand to source system config file.
[backups/.git] / scripts / cron-burn.sh
index f2ca41480a0f72984a3130338fcd67858103421d..4fe9a0b165ef26c4e84a82fa1afe38163330709c 100755 (executable)
@@ -6,10 +6,7 @@ export PATH=$(dirname $0):/bin:/usr/bin:/sbin
 . config.sh
 
 # source the system specific configuration
-if [ -f /etc/lsbackups.conf ]
-then
-  . /etc/lsbackups.conf
-fi
+[ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
 
 # burn-imgs.sh needs to be detached so that it can stop and start cron without
 # dying itself.