Change which in if statement to command -v

This commit is contained in:
flyingscorpio@arch-desktop 2020-08-27 09:06:59 +02:00
parent a070fc674f
commit 4f9ece4b85

View file

@ -38,7 +38,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
if which numlockx; then
if command -v numlockx; then
numlockx &
fi