projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not print to pipe or close command if nothing was executed
[project/firewall3.git]
/
includes.c
diff --git
a/includes.c
b/includes.c
index 42d5b7a856dee6afeb1098c6a5402c48af95bff5..5022fbd71882a13b7f41dfb3c52e91110534f73a 100644
(file)
--- a/
includes.c
+++ b/
includes.c
@@
-135,7
+135,8
@@
fw3_print_includes(struct fw3_state *state, enum fw3_family family, bool reload)
print_include(include);
}
- fw3_command_close();
+ if (exec)
+ fw3_command_close();
}