summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/meta.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index 10b0589..7552ab9 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -664,7 +664,7 @@ bool SvcEnable::execute() const {
}
fs::create_symlink(initd, target, ec);
- if(ec) {
+ if(ec && ec.value() != EEXIST) {
output_error(pos, "svcenable: could not enable service " + _svc,
ec.message());
return false;