[source] procd: clean up trailing whitespace in nand.sh
LEDE Commits
lede-commits at lists.infradead.org
Mon May 29 14:56:59 PDT 2017
neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/25d1a24e584758bcb19921d237fb93fa1e800a07
commit 25d1a24e584758bcb19921d237fb93fa1e800a07
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Wed May 3 08:27:40 2017 +0200
procd: clean up trailing whitespace in nand.sh
Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
package/system/procd/files/nand.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh
index 01dba61..b5f86e0 100644
--- a/package/system/procd/files/nand.sh
+++ b/package/system/procd/files/nand.sh
@@ -194,7 +194,7 @@ nand_upgrade_prepare_ubi() {
nand_do_upgrade_success() {
local conf_tar="/tmp/sysupgrade.tgz"
-
+
sync
[ -f "$conf_tar" ] && nand_restore_config "$conf_tar"
echo "sysupgrade successful"
@@ -231,7 +231,7 @@ nand_upgrade_ubifs() {
local rootfs_length=`(cat $1 | wc -c) 2> /dev/null`
nand_upgrade_prepare_ubi "$rootfs_length" "ubifs" "0" "0"
-
+
local ubidev="$( nand_find_ubi "$CI_UBIPART" )"
local root_ubivol="$(nand_find_volume $ubidev rootfs)"
ubiupdatevol /dev/$root_ubivol -s $rootfs_length $1
More information about the lede-commits
mailing list