diff options
Diffstat (limited to 'src/opkg.sh')
-rw-r--r-- | src/opkg.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opkg.sh b/src/opkg.sh index 9e5c3c4..2f10244 100644 --- a/src/opkg.sh +++ b/src/opkg.sh @@ -21,9 +21,13 @@ opkg_install_all() { local root="${1}" + local es= session_begin "${root}" . : true session_exec /bin/sh -c \ 'opkg install $(opkg list-installed | cut -d " " -f 1)' + es=${?} session_end + + return ${es} } |