summaryrefslogtreecommitdiff
path: root/mdstat
diff options
context:
space:
mode:
Diffstat (limited to 'mdstat')
-rwxr-xr-xmdstat1
1 files changed, 0 insertions, 1 deletions
diff --git a/mdstat b/mdstat
index 3e4eaf1..fc86d3a 100755
--- a/mdstat
+++ b/mdstat
@@ -1,6 +1,5 @@
#!/bin/zsh
-
S=$(awk '/^md/ {printf "%s: ", $1}; /blocks/ {print $NF}' </proc/mdstat)
STATUS=$(echo $S | cut -d" " -f2)
if [[ $STATUS != "[UUUU]" ]]; then logger "[mdstat warning] $S"; fi