Bug 7856

Summary: wic is returning exit code 0 no matter what it does
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Costin <costin.c.constantin>
Component: Scripts and ToolsAssignee: Ed Bartosh <eduard.bartosh>
Status: VERIFIED FIXED QA Contact: Costin <costin.c.constantin>
Severity: minor    
Priority: Medium CC: ross.burton
Version: 1.9   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Costin 2015-06-08 14:03:15 UTC
Hello,

Tested on poky: 20a3a36547831349d5d8b429cb35f1415a856bda

Tried to build an image with wic and observed that no matter what i do exit code is the same(except for create command):

build$ wic something
...(the help menu)
build$ echo $?
0
build$ wic --help
...(the help menu)
build$ echo $?
0
build$ wic creat --help
...(the help menu)
build$ echo $?
0

Costin
Comment 1 Ed Bartosh 2015-06-16 12:08:01 UTC
Started to work on it.
Comment 2 Ed Bartosh 2015-06-16 13:29:51 UTC
Here is the fix: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106149.html
Please, review.
Comment 4 Costin 2016-01-19 10:12:00 UTC
Hello,

Checked against latest poky master:839fb1893546ad58a1f5475a9e852b81afb056d6  and everything is fine no.

Marking as verified