[dahdi-commits] dahdi/tools.git branch "master" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Sat Dec 6 19:49:45 CST 2014


branch "master" has been updated
       via  283f01bd675a38bfaf1edc469cda45bb952143f1 (commit)
      from  631d32680fe1dbb257916ee3a0cb2baea3062c19 (commit)

Summary of changes:
 xpp/astribank_hook |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 283f01bd675a38bfaf1edc469cda45bb952143f1
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Sun Dec 7 11:51:19 2014 +0200

    astribank_hook: remove useless 'time'
    
    * 'time' was added here for debugging and never actually needed.
    * It actually causes a minor bashism issue.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

diff --git a/xpp/astribank_hook b/xpp/astribank_hook
index 05d1c17..fdfa82a 100755
--- a/xpp/astribank_hook
+++ b/xpp/astribank_hook
@@ -96,10 +96,10 @@ wait_for_udev() {
 	echo "Waiting for udev to settle down..."
 	if [ -x /sbin/udevsettle ]; then
 		# Old system, stand-alone udevsettle command
-		time /sbin/udevsettle --timeout="$UDEV_SETTLE_MAX_TIME"
+		/sbin/udevsettle --timeout="$UDEV_SETTLE_MAX_TIME"
 	elif [ -x /sbin/udevadm ]; then
 		# Assume modern system, udevadm has settle parameter
-		if ! time /sbin/udevadm settle --timeout="$UDEV_SETTLE_MAX_TIME"
+		if ! /sbin/udevadm settle --timeout="$UDEV_SETTLE_MAX_TIME"
 		then
 			echo "udevadm failed ($?)."
 			echo "Fallback to sleep $UDEV_SETTLE_MAX_TIME seconds."

-----------------------------------------------------------------------


-- 
dahdi/tools.git



More information about the dahdi-commits mailing list