summaryrefslogtreecommitdiff
path: root/mdstat
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-09-21 11:31:14 +0100
committerPatrick Simianer <p@simianer.de>2014-09-21 11:31:14 +0100
commit0aae427eb3838297f6e204c2961739ef834762cf (patch)
treec533ade19b5c699a2edb4b309e8fd40cc4c03239 /mdstat
parent6571bd6dd7b80927a17c9639c93c888e5cc98a53 (diff)
rm superfluous whitespace
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