[Bug 1570813] [NEW] Executing "systemctl is-enabled tmp.mount ; echo $?" returns 0 on an error
Sworddragon
1570813 at bugs.launchpad.net
Fri Apr 15 11:32:07 UTC 2016
Public bug reported:
I'm using Ubuntu 16.04 dev with systemd 229-4ubuntu4 and figured out by
this report (
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1545707 ) if
executing "systemctl is-enabled tmp.mount ; echo $?" fails 0 is returned
as shown in this example:
root at ubuntu:~# systemctl is-enabled tmp.mount ; echo $?
Failed to get unit file state for tmp.mount: No such file or directory
0
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1570813
Title:
Executing "systemctl is-enabled tmp.mount ; echo $?" returns 0 on an
error
Status in systemd package in Ubuntu:
New
Bug description:
I'm using Ubuntu 16.04 dev with systemd 229-4ubuntu4 and figured out
by this report (
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1545707 ) if
executing "systemctl is-enabled tmp.mount ; echo $?" fails 0 is
returned as shown in this example:
root at ubuntu:~# systemctl is-enabled tmp.mount ; echo $?
Failed to get unit file state for tmp.mount: No such file or directory
0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1570813/+subscriptions
More information about the foundations-bugs
mailing list