diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-29 07:22:11 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-29 07:22:11 -0500 |
commit | de2b1368799c8b4c3ce15b6515ef2f1a2175a826 (patch) | |
tree | 4243916c96f6d0d562962a77c98a928bdfec1789 | |
parent | 5595a79c6c5c73203f55d3a759a7af921ed34c1a (diff) | |
download | horizon-de2b1368799c8b4c3ce15b6515ef2f1a2175a826.tar.gz horizon-de2b1368799c8b4c3ce15b6515ef2f1a2175a826.tar.bz2 horizon-de2b1368799c8b4c3ce15b6515ef2f1a2175a826.tar.xz horizon-de2b1368799c8b4c3ce15b6515ef2f1a2175a826.zip |
hscript: Allow multiple svcenables to not break
-rw-r--r-- | hscript/meta.cc | 2 |
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; |