diff options
Diffstat (limited to 'src/ctl.c')
-rw-r--r-- | src/ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* This file is part of GNU Pies. - Copyright (C) 2007-2013 Sergey Poznyakoff + Copyright (C) 2007-2016 Sergey Poznyakoff GNU Pies is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1446,7 +1446,7 @@ res_programs (struct ctlio *io, enum http_method meth, ctlio_reply (io, 409, "already running"); else { - prog->v.p.comp->flags &= CF_DISABLED; + prog->v.p.comp->flags &= ~CF_DISABLED; prog->v.p.status = status_enabled; kill (getpid (), SIGALRM); ctlio_reply (io, 200, "Component started"); |