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