[Pkg-voip-commits] [dahdi-tools] 217/285: astribank_hook: remove useless 'time'
tzafrir at debian.org
tzafrir at debian.org
Thu Jul 7 19:19:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
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>
---
xpp/astribank_hook | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
More information about the Pkg-voip-commits
mailing list