aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/do_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/do_service.c b/src/rc/do_service.c
index 3c39d35f..a36a09ca 100644
--- a/src/rc/do_service.c
+++ b/src/rc/do_service.c
@@ -36,7 +36,7 @@ int main(int argc, char **argv)
bool ok = false;
char *service;
char *exec;
- int idx;
+ int idx = 0;
RC_SERVICE state, bit;
applet = basename_c(argv[0]);