Files
systemd/src
Zbigniew Jędrzejewski-Szmek 0ef84b80c5 networkctl: return error or warning when interfaces are not matched
We'd just print nothing and exit with 0. If the user gave an explicit
name, we should fail. If a pattern didn't match, we should at least warn.

$ networkctl status enx54ee75cb1dc0a* --no-pager && echo $?
No interfaces matched.
0

$ networkctl status enx54ee75cb1dc0a --no-pager
Interface "enx54ee75cb1dc0a" not found.
1
2020-01-14 13:09:46 +01:00
..
2020-01-07 19:32:14 +00:00
…
…
…
2020-01-10 10:06:09 +01:00
2020-01-08 09:54:25 +01:00
2019-11-28 11:41:24 +01:00
…
…