mirror of https://github.com/hak5/openwrt-owl.git
fstools: clean up trailing whitespace in snapshot script
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>owl
parent
30f61a34b4
commit
6bbb3a2b0a
|
@ -42,7 +42,7 @@ do_snapshot_upgrade() {
|
||||||
|
|
||||||
opkg list-upgradable
|
opkg list-upgradable
|
||||||
[ $? -eq 0 ] || exit 2
|
[ $? -eq 0 ] || exit 2
|
||||||
|
|
||||||
UPDATES=`opkg list-upgradable | cut -d" " -f1`
|
UPDATES=`opkg list-upgradable | cut -d" " -f1`
|
||||||
[ -z "${UPDATES}" ] && exit 0
|
[ -z "${UPDATES}" ] && exit 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue