Univention Bugzilla – Full Text Bug Listing |
Summary: | joinscript_run_in_container has wrong exit codes? | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | App Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P1 | CC: | walkenhorst, wiesenthal |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Florian Best
2016-02-01 12:55:15 CET
This is very annoying when developing joinscripts Is also an issue with joinscripts that have set -e. univention-app shell "$APP" bash -c 'exit 0' univention-app shell "$APP" bash -c 'exit 1' joinscript_run_in_container bash -c 'exit 1' univention-appcenter 5.0.20-34.145.201603262252 OK: YAML OK: Code OK: fix root@xen3:~# joinscript_run_in_container bash -c 'echo foo'; echo $? foo 0 root@xen3:~# joinscript_run_in_container bash -c 'exit 2'; echo $? 2 root@xen3:~# univention-app shell "jenkins" bash -c 'exit 0' root@xen3:~# echo $? 0 root@xen3:~# univention-app shell "jenkins" bash -c 'exit 1'; echo $? 1 root@xen3:~# univention-app shell "jenkins" bash -c 'exit 2'; echo $? 2 root@xen3:~# univention-app shell; echo $? usage: univention-app shell [-h] app ... univention-app shell: error: too few arguments 2 |