aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-18 00:19:10 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-21 13:41:13 +0100
commiteb18f862cb4fb35d7e55039c76af38cd46d931aa (patch)
treedfb6e46b166b68cd64ae2093e692905fb5b129f5 /conf.c
parent53489b8e6ef61b5f9930575eee047f9ab2342ef7 (diff)
downloadpasst-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar.gz
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar.bz2
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar.lz
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar.xz
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.tar.zst
passt-eb18f862cb4fb35d7e55039c76af38cd46d931aa.zip
conf: Don't print configuration on --quiet
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 2984ac2..41895de 100644
--- a/conf.c
+++ b/conf.c
@@ -1239,5 +1239,6 @@ void conf(struct ctx *c, int argc, char **argv)
}
}
- conf_print(c);
+ if (!c->quiet)
+ conf_print(c);
}