From 4975e116998dbd4123aedda33aaa449ff506e850 Mon Sep 17 00:00:00 2001 From: Paul Sbarra Date: Thu, 21 Mar 2013 22:38:42 -0500 Subject: [PATCH] service: fix systemd compilation error with --check --- service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service b/service index 14b231a2ef9..d0122c5de6a 100644 --- a/service +++ b/service @@ -499,7 +499,7 @@ class LinuxService(Service): self.changed = True - if self.module.check_mode and changed: + if self.module.check_mode and self.changed: self.module.exit_json(changed=True) return self.execute_command("%s %s %s" % args)