Why does the exit status differ when running `systemctl start; systemctl is-active` and `systemctl is-active` separately? – unix.stackexchange.com

The following sequence gives me the return value of the first command, not the 2nd as I would have expected (no matter if I run the 1st command in a subshell): sudo systemctl start x; sudo systemctl ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why does the exit status differ when running `systemctl start; systemctl is-active` and `systemctl is-active` separately? – unix.stackexchange.com"