summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-02 18:06:18 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-03-04 15:45:07 +0100
commit04749e40038c77d0d5d8d6f0812f2e1126d70438 (patch)
tree08a5d979479c7e408df2ddfa1c50b03524793e4e /src/systemctl/systemctl.c
parentsystemctl: show nothing if no LoadError= (diff)
downloadsystemd-04749e40038c77d0d5d8d6f0812f2e1126d70438.tar.xz
systemd-04749e40038c77d0d5d8d6f0812f2e1126d70438.zip
systemctl: print RestrictAddressFamilies= in 'show' command
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 44451c01d6..fa3f054673 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4728,7 +4728,8 @@ static int print_property(const char *name, const char *expected_value, sd_bus_m
bus_print_property_value(name, expected_value, value, "");
return 1;
- } else if (streq(name, "SystemCallFilter")) {
+
+ } else if (STR_IN_SET(name, "SystemCallFilter", "RestrictAddressFamilies")) {
_cleanup_strv_free_ char **l = NULL;
int whitelist;