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

[Trivial] make uptime-hurd command work properly



As of hurd (20110319-2) , uptime-hurd does not work as expected.
Attached is a patch to produce expected behaviour.

Regards,
Harish Badrinath
diff --git a/utils/uptime.sh b/utils/uptime.sh
index 8e52c81..f5705cc 100644
--- a/utils/uptime.sh
+++ b/utils/uptime.sh
@@ -25,7 +25,7 @@
 USAGE="Usage: $0 [OPTION...]"
 DOC="Show system uptime, number of users, and load"
 
-W=${W-/bin/w}
+W=${W-/bin/w-hurd}
 
 while :; do
   case "$1" in

Reply to: