--- pyanaconda/packages.py | 2 +- pyanaconda/upgrade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyanaconda/packages.py b/pyanaconda/packages.py index 8c9be1c..eb01f23 100644 --- a/pyanaconda/packages.py +++ b/pyanaconda/packages.py @@ -182,7 +182,7 @@ def setupTimezone(anaconda): args.append("-u") try: - iutil.execWithRedirect("/usr/sbin/hwclock", args, stdin = None, + iutil.execWithRedirect("/sbin/hwclock", args, stdin = None, stdout = "/dev/tty5", stderr = "/dev/tty5") except RuntimeError: log.error("Failed to set clock") diff --git a/pyanaconda/upgrade.py b/pyanaconda/upgrade.py index c2726fb..5ca8789 100644 --- a/pyanaconda/upgrade.py +++ b/pyanaconda/upgrade.py @@ -161,7 +161,7 @@ def restoreTime(anaconda): return args = [ "--hctosys" ] try: - iutil.execWithRedirect("/usr/sbin/hwclock", args,stdout = "/dev/tty5", + iutil.execWithRedirect("/sbin/hwclock", args,stdout = "/dev/tty5", stderr = "/dev/tty5") except RuntimeError: log.error("Failed to set the clock.") -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list