projects
/
carnet-tools-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r71: bugcic u cp_backup_conffile
[carnet-tools-cn.git]
/
functions.sh
diff --git
a/functions.sh
b/functions.sh
index
4b3013d
..
f5326b9
100644
(file)
--- 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