2013-05-07 14:05:28 +02:00
|
|
|
From 2afcee0b4da066fb5f8fc00b749d88f5bd9df3d3 Mon Sep 17 00:00:00 2001
|
2013-01-08 16:05:04 +01:00
|
|
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
|
|
|
Date: Tue, 8 Jan 2013 15:45:01 +0100
|
2013-05-07 14:26:29 +02:00
|
|
|
Subject: [PATCH 2/9] Ignore duplicate paths in "systemctl start"
|
2013-01-08 16:05:04 +01:00
|
|
|
|
|
|
|
---
|
2013-05-07 14:05:28 +02:00
|
|
|
src/systemctl/systemctl.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2012-10-05 22:58:36 +02:00
|
|
|
|
|
|
|
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
|
2013-05-07 14:05:28 +02:00
|
|
|
index 3cca861..16791a2 100644
|
2012-10-05 22:58:36 +02:00
|
|
|
--- a/src/systemctl/systemctl.c
|
|
|
|
+++ b/src/systemctl/systemctl.c
|
2013-05-07 14:05:28 +02:00
|
|
|
@@ -1867,7 +1867,7 @@ static int start_unit_one(
|
|
|
|
return log_oom();
|
2012-10-05 22:58:36 +02:00
|
|
|
|
2013-05-07 14:05:28 +02:00
|
|
|
r = set_consume(s, p);
|
|
|
|
- if (r < 0) {
|
|
|
|
+ if (r < 0 && r != -EEXIST) {
|
|
|
|
log_error("Failed to add path to set.");
|
|
|
|
return r;
|
|
|
|
}
|
2013-01-08 16:05:04 +01:00
|
|
|
--
|
2013-05-07 14:05:28 +02:00
|
|
|
1.8.2.1
|
2013-01-08 16:05:04 +01:00
|
|
|
|