[PATCH] Fixed for the case when dhcp is turned off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Riggs <rigg0022@xxxxxxx>

---
 triggers/restart-services.trigger |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/triggers/restart-services.trigger b/triggers/restart-services.trigger
index 98d478b..6a44500 100644
--- a/triggers/restart-services.trigger
+++ b/triggers/restart-services.trigger
@@ -17,5 +17,7 @@ if manage_dhcp != "0":
     else:
         print "- error: unknown DHCP engine: %s" % manage_dhcp_mode
         rc = 411
+else:
+    rc = ""
 
 sys.exit(rc)
-- 
1.5.2.4

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux