From d09bec418635723f93d47673cfbc331f329d220e Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Sun, 24 Jan 2021 20:37:38 +0000 Subject: [PATCH] Update stocheck.sh --- stocheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stocheck.sh b/stocheck.sh index a9f6f43..0524f0e 100644 --- a/stocheck.sh +++ b/stocheck.sh @@ -8,7 +8,7 @@ if [[ $(curl -s https://raw.githubusercontent.com/byReqz/stocheck/main/stocheck. echo "" fi while [ ! -n "$1" ]; do - raidcheck="$(lspci | grep RAID)" + raidcheck="$(lspci)" if [[ -z "$raidcheck" ]];then if [[ -n $(ls /sys/block | grep sd) ]];then echo "=== sata drive check: ===" @@ -160,4 +160,4 @@ while [ ! -z "$1" ]; do echo " -h/--help -- show help" exit fi -done \ No newline at end of file +done