From be14c6609be8f76a808c90e0c8be8b189dfa8333 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 2 Mar 2012 07:18:56 -0500 Subject: Use reboot from /sbin According to FHS, the reboot command should live in /sbin. Systems may also have a symlink in /usr/bin, but they don't have to. https://fedorahosted.org/freeipa/ticket/2480 --- ipa-client/ipa-install/ipa-client-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-client/ipa-install') diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index f5c1efe06..7d405a8d7 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -409,7 +409,7 @@ def uninstall(options, env, quiet=False): if not options.on_master: if user_input("Do you want to reboot the machine?", False): try: - run(["/usr/bin/reboot"]) + run(["/sbin/reboot"]) except Exception, e: emit_quiet(quiet, "Reboot command failed to exceute. " + str(e)) return CLIENT_UNINSTALL_ERROR -- cgit