summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c
index 38049ff..c7103f0 100644
--- a/service.c
+++ b/service.c
@@ -247,7 +247,7 @@ void serviceStart(struct Service *service) {
 	}
 	int n = snprintf(
 		&command[len], sizeof(command) - len, "%s%s",
-		(service->command[strcspn(service->command, ";&|()")] ? "exec " : ""),
+		(service->command[strcspn(service->command, ";&|()")] ? "" : "exec "),
 		service->command
 	);
 	assert(n > 0);
ake safe filling the who bufferJune McEnroe 2018-08-07Add reverse and reset IRC formatting codesJune McEnroe 2018-08-06Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe 2018-08-04Handle /topicJune McEnroe