From 2f95d699dc03583c90a2acfbfefdd2b55f906c59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Thu, 5 May 2011 13:34:19 +0200 Subject: [PATCH] crypt-lib.sh: 'command -v' preferred over 'type' --- modules.d/90crypt/crypt-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90crypt/crypt-lib.sh b/modules.d/90crypt/crypt-lib.sh index 26f99503f..f42328972 100644 --- a/modules.d/90crypt/crypt-lib.sh +++ b/modules.d/90crypt/crypt-lib.sh @@ -2,7 +2,7 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh +command -v getarg >/dev/null || . /lib/dracut-lib.sh # Try to mount specified device (by path, by UUID or by label) and check # the path with 'test'. -- 2.47.3