summaryrefslogtreecommitdiffstats
path: root/src/opkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkg.sh')
-rw-r--r--src/opkg.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opkg.sh b/src/opkg.sh
index 1b96112..9b5af55 100644
--- a/src/opkg.sh
+++ b/src/opkg.sh
@@ -25,9 +25,10 @@ opkg_install_all()
local es=
session_begin "${root}" . : true
+ es=0
session_exec /bin/sh -c \
- 'opkg install $(opkg list-installed | cut -d " " -f 1)'
- es=${?}
+ 'opkg install $(opkg list-installed | cut -d " " -f 1)' || \
+ es=${?}
session_end
return ${es}