bug
This commit is contained in:
parent
7e0d44bfdd
commit
d3ab6b85e2
|
@ -64,7 +64,9 @@ function copy_replace() {
|
|||
fi
|
||||
local r=0
|
||||
if cp "$src" "$dest"; then
|
||||
[ -n "$3" ] && chmod "$3" "$dest" || r=$?
|
||||
if [ -n "$3" ]; then
|
||||
chmod "$3" "$dest" || r=$?
|
||||
fi
|
||||
fi
|
||||
return $r
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue