summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJulien Danjou <acid@debian.org>2008-12-14 19:11:41 +0100
committermaximilian attems <maks@debian.org>2008-12-14 19:11:41 +0100
commitca53be13ebbb8e00ead2d170c10e66cdb6fc91f3 (patch)
treeb34e10864d982096b544ea184370d944b5544b14 /scripts
parentf15c3530c08e95f3270cbd073b5f83df81f06bbf (diff)
downloadinitramfs-tools-ca53be13ebbb8e00ead2d170c10e66cdb6fc91f3.tar.gz
initramfs-tools-ca53be13ebbb8e00ead2d170c10e66cdb6fc91f3.zip
scripts/functions: Wrong check for udevadm in functions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 560184b..758dd4f 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -303,6 +303,6 @@ configure_networking()
# Wait for queued kernel/udev events
wait_for_udev()
{
- [ -x "$(command -v udevadm)" ] && return 0
+ [ -x "$(command -v udevadm)" ] || return 0
udevadm settle ${1:+--timeout=$1}
}