1
0

001-fix_disks.patch 345 B

12345678910
  1. --- a/plugins/df
  2. +++ b/plugins/df
  3. @@ -19,6 +19,6 @@ fetch_df() {
  4. do
  5. PINFO=$(df -P $PART | tail -1);
  6. PNAME=$(echo $PINFO | cut -d\ -f1 | sed 's/[\/.-]/_/g')
  7. - echo "$PNAME.value" $(echo $PINFO | cut -f5 -d\ | sed -e 's/\%//g')
  8. + echo "$PNAME.value" $(echo $PINFO | sed -e 's/\%//g' -e 's/ */ /g' | cut -f5 -d' ')
  9. done
  10. }