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 ...
0 Comment to "Why does the exit status differ when running `systemctl start; systemctl is-active` and `systemctl is-active` separately? – unix.stackexchange.com"
0 Comment to "Why does the exit status differ when running `systemctl start; systemctl is-active` and `systemctl is-active` separately? – unix.stackexchange.com"
Post a Comment