summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-10-13 13:39:37 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-10-14 18:11:07 +0200
commita2485c56319041f0021a46d63aac38ec2a5a6b2e (patch)
tree8a7bd5b9875346f9fd54a3d69c2dd358d635a983
parent0d52311adc48ecbe45e84c42332dece12c6d34fe (diff)
downloadsssd-a2485c56319041f0021a46d63aac38ec2a5a6b2e.tar.gz
sssd-a2485c56319041f0021a46d63aac38ec2a5a6b2e.tar.xz
sssd-a2485c56319041f0021a46d63aac38ec2a5a6b2e.zip
sssctl: Fix a typo in preprocessor macro
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/tools/sssctl/sssctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sssctl/sssctl.c b/src/tools/sssctl/sssctl.c
index 1035a7358..b0510e6ae 100644
--- a/src/tools/sssctl/sssctl.c
+++ b/src/tools/sssctl/sssctl.c
@@ -128,7 +128,7 @@ static errno_t sssctl_manage_service(enum sssctl_svc_action action)
case SSSCTL_SVC_RESTART:
return sssctl_systemd_restart();
}
-#elif HAVE_SERVICE
+#elif defined(HAVE_SERVICE)
switch (action) {
case SSSCTL_SVC_START:
return sssctl_run_command(SERVICE_PATH" sssd start");