Fix tabs/spaces

This commit is contained in:
Benjamin Renard 2017-04-12 11:05:14 +02:00
parent 2bb96014cf
commit 14c8df8101

View file

@ -31,8 +31,8 @@ DEVICE=""
while getopts ":dcl:u:h" opt while getopts ":dcl:u:h" opt
do do
case "$opt" in case "$opt" in
d) d)
DEBUG=1 DEBUG=1
;; ;;
c) c)
@ -165,18 +165,18 @@ function backup() {
debug INFO "Montage de BackupPC FS..." debug INFO "Montage de BackupPC FS..."
$BACKUPPCFS_PATH $BACKUPPCFS_MNT $BACKUPPCFS_PATH $BACKUPPCFS_MNT
RES=$? RES=$?
if [ $RES -ne 0 ] if [ $RES -ne 0 ]
then then
debug ERREUR "Problème durant le montage de BackupPC FS. Code retour : $RES" debug ERREUR "Problème durant le montage de BackupPC FS. Code retour : $RES"
umount $BACKUPPCFS_MNT umount $BACKUPPCFS_MNT
umount $LUKS_DM_PATH umount $LUKS_DM_PATH
cryptsetup close $LUKS_DM_NAME cryptsetup close $LUKS_DM_NAME
debug HALT debug HALT
exit 1 exit 1
else else
debug INFO "Fait." debug INFO "Fait."
fi fi
sleep 2 sleep 2