Merge pull request #4018 from Security-Onion-Solutions/TOoSmOotH-patch-2

Update raid.sh
This commit is contained in:
Mike Reeves
2021-04-28 10:27:35 -04:00
committed by GitHub

View File

@@ -16,6 +16,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
THEGREP=$(ps -ef | grep $0 | grep -v $$ | grep -v grep)
RAIDLOG=/var/log/raid/status.log
RAIDSTATUS=$(cat /var/log/raid/status.log)
if [ ! "$THEGREP" ]; then