chiark / gitweb /
systemctl: check the argument to -t for invalid values
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Jun 2012 14:56:19 +0000 (16:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Jul 2012 15:07:32 +0000 (17:07 +0200)
commit6d97280899a766ad7b4a6b07cc803709a08b364b
treee4286e5012d88ad7dedaabf0330d21ab6809f908
parent0a9f8ed00c8f323d5bf24a9a11149a9342c0e1aa
systemctl: check the argument to -t for invalid values

Systemctl accepted anything as the argument for -t, and simply said '0
units found'. It is better to catch this user error early.
src/systemctl/systemctl.c