From 4e26ed66e24664c46ab4812c57b6f090703b347a Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sun, 26 Jan 2020 11:46:45 -0600 Subject: [PATCH] Fix upgrade issue when copying files --- rootfs/standard/usr/bin/mynode_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/standard/usr/bin/mynode_upgrade.sh b/rootfs/standard/usr/bin/mynode_upgrade.sh index 2e4accb4..4309114e 100755 --- a/rootfs/standard/usr/bin/mynode_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_upgrade.sh @@ -31,7 +31,7 @@ VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version) if [ $IS_X86 = 1 ]; then rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1 else - cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / > 2>&1 + cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1 fi sleep 1 sync