From c53a0ed5e38d254ed15a447bfb8fbcd2c4a3bda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 6 Sep 2019 07:10:54 +0200 Subject: treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that $UPGRADE_BACKUP is set conditionally there is no need to check the $UPGRADE_OPT_SAVE_CONFIG anymore. All conditions can be simplified. Signed-off-by: Rafał Miłecki (cherry picked from commit a858db313687ddfa6ed1ddba76bd74844a7b89dc) --- package/base-files/files/sbin/sysupgrade | 1 - 1 file changed, 1 deletion(-) (limited to 'package/base-files/files/sbin/sysupgrade') diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index f18143bff4..935d08048e 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -371,7 +371,6 @@ else $backup_attr \"command\": $(json_string "$COMMAND"), \"options\": { - \"save_config\": $SAVE_CONFIG, \"save_partitions\": $SAVE_PARTITIONS } }" -- cgit v1.2.3