From 80424661171d99125d70f5514617e9ab1b00b9c5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 27 Aug 2021 17:56:28 +0000 Subject: [PATCH] scstadmin/init.d/scst: Remove the 'which' invocation Remove the invocation of the 'which' command since that command has been deprecated in Debian 11 and since I am not aware of any other portable approach for querying the path of a command. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9494 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/init.d/scst | 2 -- 1 file changed, 2 deletions(-) diff --git a/scstadmin/init.d/scst b/scstadmin/init.d/scst index 3c6acdaa1..9490e1b29 100755 --- a/scstadmin/init.d/scst +++ b/scstadmin/init.d/scst @@ -69,8 +69,6 @@ fi PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin SCST_DFLT=/etc/default/scst -[ -x "$(which scstadmin)" ] || exit 5 - if [ -f $SCST_DFLT ]; then . $SCST_DFLT fi