aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 724b479..b592aa9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -190,6 +190,10 @@ int main(int argc, char ** argv) {
output_path = std::filesystem::absolute(output_path);
}
+ for(std::string const & warning : cfg.warnings) {
+ err("warning: %s", warning.c_str());
+ }
+
write_systemd_file(cfg.netdev, output_path, false);
write_systemd_file(cfg.network, output_path, false);
write_systemd_file(cfg.private_keyfile, output_path, true);