aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/protocol.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/firejail/protocol.c b/src/firejail/protocol.c
index e6a8f61ab..407f8c62d 100644
--- a/src/firejail/protocol.c
+++ b/src/firejail/protocol.c
@@ -119,6 +119,11 @@ void protocol_list(void) {
119void protocol_store(const char *prlist) { 119void protocol_store(const char *prlist) {
120 assert(prlist); 120 assert(prlist);
121 121
122 if (cfg.protocol) {
123 fprintf(stderr, "Warning: a protocol list is present, the new list \"%s\" will not be installed\n", prlist);
124 return;
125 }
126
122 // temporary list 127 // temporary list
123 char *tmplist = strdup(prlist); 128 char *tmplist = strdup(prlist);
124 if (!tmplist) 129 if (!tmplist)