Update raid.sh

This commit is contained in:
Mike Reeves
2021-05-04 07:57:07 -04:00
committed by GitHub
parent e113e75f4d
commit ffa9001df4

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