Bug 87954

Summary: "systemd-tmpfiles --create" returns 0 although it failed
Product: systemd Reporter: Elias Probst <mail>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Elias Probst 2015-01-01 22:11:12 UTC
When the error described in bug#87953 occurs, the returncode of "systemd-tmpfiles --create" is always 0.

Besides that fact it shouldn't return 0 in case there were problems, it might make sense to have it return different returncodes:
- one returncode for "all items failed"
- one returncode for "one failed, others succeeded"
Comment 1 Zbigniew Jedrzejewski-Szmek 2015-01-06 14:58:36 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=1db50423ba.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.