diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/programs/pkttyagent.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/programs/pkttyagent.c b/src/programs/pkttyagent.c index ccb5754..4d04e9c 100644 --- a/src/programs/pkttyagent.c +++ b/src/programs/pkttyagent.c @@ -150,6 +150,12 @@ main (int argc, char *argv[]) goto out; } + if (opt_process != NULL && opt_system_bus_name != NULL) + { + g_printerr (_("%s: Options --process and --system-bus-name are mutually exclusive\n"), + g_get_prgname()); + goto out; + } if (opt_process != NULL) { gint pid; |