From: Ivan Rako Date: Wed, 8 Jun 2005 14:18:54 +0000 (+0000) Subject: r71: bugcic u cp_backup_conffile X-Git-Tag: debian/3.0.0~35 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-tools-cn.git;a=commitdiff_plain;h=8349f3727d2432916762441e7fc97e183c6d1647 r71: bugcic u cp_backup_conffile --- diff --git a/functions.sh b/functions.sh index 4b3013d..f5326b9 100644 --- a/functions.sh +++ b/functions.sh @@ -173,7 +173,9 @@ cp_backup_conffile() { did=1 fi fi - + + [ -z "$check" ] && return 0 + if [ "$check" -a "$did" ]; then return 0 else