summaryrefslogtreecommitdiffstats
path: root/opkg
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-09-25 06:43:36 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-09-25 06:50:30 (EDT)
commit73e0d93172e1020a29e1b992e4d9fcec956ec2bb (patch)
tree8e2541fd969e9f518d5045bab3839fd53885bb75 /opkg
parentbbb92cab553dc00aa65a5b4d0f557e92c453e2ed (diff)
opkg: Fix exit status on opkg-cl errorHEADmaster
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
}