author | Olivier Brunel
<jjk@jjacky.com> 2018-01-20 19:51:06 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2018-01-21 19:49:08 UTC |
parent | edb7fb2d404bfa22017fcf8d676bf2c9d6e3ab1c |
src/libanopa/enable_service.c | +1 | -1 |
diff --git a/src/libanopa/enable_service.c b/src/libanopa/enable_service.c index 2aa15ef..f0127da 100644 --- a/src/libanopa/enable_service.c +++ b/src/libanopa/enable_service.c @@ -668,7 +668,7 @@ aa_enable_service (const char *_name, struct stat st; if (stat (_name, &st) < 0) - return ERR_IO; + return -ERR_IO; else if (S_ISREG (st.st_mode)) /* file; so nothing special to do, we can "drop" the path */ _name = name;