summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-03-02 07:18:56 -0500
committerMartin Kosek <mkosek@redhat.com>2012-03-02 16:53:47 +0100
commitbe14c6609be8f76a808c90e0c8be8b189dfa8333 (patch)
tree0a5d421f25e187a9e1da3126df82b61fb5ffa803 /ipa-client
parentb7d092a0f4967fafcf5518d638b942e91510b6fc (diff)
downloadfreeipa-be14c6609be8f76a808c90e0c8be8b189dfa8333.tar.gz
freeipa-be14c6609be8f76a808c90e0c8be8b189dfa8333.tar.xz
freeipa-be14c6609be8f76a808c90e0c8be8b189dfa8333.zip
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
Diffstat (limited to 'ipa-client')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install2
1 files changed, 1 insertions, 1 deletions
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