systemctl: avoid crash when pattern expands to empty unit list
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 May 2021 20:49:56 +0000 (22:49 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 May 2021 04:29:29 +0000 (13:29 +0900)
commitffcd68385226d4b499dbff0123271e1d3fb8f516
treee1e75210f21eb71684e0cbf85b2d4817062d8d3f
parent5709c7fe4e5c0a5c53b543f3d79cba7fc0ace065
systemctl: avoid crash when pattern expands to empty unit list

Fixes #19652.
src/systemctl/systemctl-edit.c