fix wrong permissions after sysupgrade on ext4

This commit is contained in:
70599 2019-04-17 11:21:02 +08:00 committed by coolsnowwolf
parent 8a6367c5da
commit bce1bc143d

View File

@ -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"