chiark / gitweb /
sysv-generator: rename PidFile to PIDFile
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 24 Jun 2014 21:07:48 +0000 (23:07 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 24 Jun 2014 21:07:48 +0000 (23:07 +0200)
Spotted by Alexey Shabalin

src/sysv-generator/sysv-generator.c

index 18dae5c28f87df7e11d8c7c81c3298d661d69d47..9778fbc533ed7f72fa41f7c357e2021e29b99321 100644 (file)
@@ -172,7 +172,7 @@ static int generate_unit_file(SysvStub *s) {
                 fprintf(f, "SysVStartPriority=%d\n", s->sysv_start_priority);
 
         if (s->pid_file)
-                fprintf(f, "PidFile=%s\n", s->pid_file);
+                fprintf(f, "PIDFile=%s\n", s->pid_file);
 
         fprintf(f,
                 "ExecStart=%s start\n"