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