From 3769acfdc7e95a8df66eaa91e18695b656a32474 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 25 Sep 2021 03:31:14 +0000 Subject: Fix inverted exec prepend logic Well that's embarrassing. --- service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.4.1 commit web frontend for git
about summary refs log tree commit diff
path: root/cache.c (unfollow)
Commit message (Expand)Author
2014-01-08ui-log.c: Several simplificationsLukas Fleischer
2014-01-08Use argv_array in place of vectorLukas Fleischer
2014-01-08ui-stats.c: Remove unused macroLukas Fleischer
2014-01-08scan-tree.c: Remove unused macroLukas Fleischer
2013-09-14ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer
2013-09-14ui-diff: Use diff_tree_sha1() for raw diff formattingLukas Fleischer