summaryrefslogtreecommitdiffstats
path: root/opkg
diff options
context:
space:
mode:
Diffstat (limited to 'opkg')
-rwxr-xr-xopkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/opkg b/opkg
index c9f7052..8274e47 100755
--- a/opkg
+++ b/opkg
@@ -63,6 +63,7 @@ main()
local first_arg=
local arch_arg=
local arg=
+ local es=
first_arg=true
arch_arg=''
@@ -125,8 +126,9 @@ main()
unsave_bb
return 0
else
+ es=${?}
unsave_bb
- return ${?}
+ return ${es}
fi
}