mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
fix wrong permissions after sysupgrade on ext4
This commit is contained in:
parent
8a6367c5da
commit
bce1bc143d
@ -249,7 +249,7 @@ do_save_conffiles() {
|
|||||||
|
|
||||||
v "Saving config files..."
|
v "Saving config files..."
|
||||||
[ "$VERBOSE" -gt 1 ] && TAR_V="v" || TAR_V=""
|
[ "$VERBOSE" -gt 1 ] && TAR_V="v" || TAR_V=""
|
||||||
tar c${TAR_V}zf "$conf_tar" -T "$CONFFILES" 2>/dev/null
|
tar c${TAR_V}zpf "$conf_tar" -T "$CONFFILES" 2>/dev/null
|
||||||
if [ "$?" -ne 0 ]; then
|
if [ "$?" -ne 0 ]; then
|
||||||
echo "Failed to create the configuration backup."
|
echo "Failed to create the configuration backup."
|
||||||
rm -f "$conf_tar"
|
rm -f "$conf_tar"
|
||||||
|
Loading…
Reference in New Issue
Block a user