Bug#882245: systemd-sysv: shutdown does not parse correctly -t option

Michael Biebl biebl at debian.org
Tue Nov 21 21:49:07 GMT 2017


Am 20.11.2017 um 18:07 schrieb Thomas L:
>      Try to reboot the computer with:
>      # shutdown -h -t 5 now


Looking at shutdown --help (v232), I get


> # shutdown --help
> shutdown [OPTIONS...] [TIME] [WALL...]
> 
> Shut down the system.
> 
>      --help      Show this help
>   -H --halt      Halt the machine
>   -P --poweroff  Power-off the machine
>   -r --reboot    Reboot the machine
>   -h             Equivalent to --poweroff, overridden by --halt
>   -k             Don't halt/power-off/reboot, just send warnings
>      --no-wall   Don't send wall message before halt/power-off/reboot
>   -c             Cancel a pending shutdown


I don't see a -t parameter there. It looks like -t is a legacy command
line option which systemctl parses but ignores:

https://github.com/systemd/systemd/blob/master/src/systemctl/systemctl.c#L8126



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20171121/d1e0ec1e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list