0016-fstools-clean-up-trailing-whitespace-in-snapshot-script.patch 683 B

12345678910111213141516171819
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Wed, 3 May 2017 08:29:24 +0200
  3. Subject: fstools: clean up trailing whitespace in snapshot script
  4. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  5. diff --git a/package/system/fstools/files/snapshot b/package/system/fstools/files/snapshot
  6. index c1a5b733f3c70e2bb5f2e83d3589e2f10832760f..baf24f1e3e90fe7708e0f28c17ba270a35a2cd52 100644
  7. --- a/package/system/fstools/files/snapshot
  8. +++ b/package/system/fstools/files/snapshot
  9. @@ -42,7 +42,7 @@ do_snapshot_upgrade() {
  10. opkg list-upgradable
  11. [ $? -eq 0 ] || exit 2
  12. -
  13. +
  14. UPDATES=`opkg list-upgradable | cut -d" " -f1`
  15. [ -z "${UPDATES}" ] && exit 0