Browse Source

Update v-backup-user

fixed the arguments for check_result
Viacheslav Biruk 4 years ago
parent
commit
a06aa2f1d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -183,7 +183,7 @@ let v_disk=$(($(stat -f --format="%a*%S" $BACKUP)))/1024/1024
 if [ "$u_disk" -gt "$v_disk" ]; then
 if [ "$u_disk" -gt "$v_disk" ]; then
     # Always notify on failure
     # Always notify on failure
     echo "not enough diskspace available to perform the backup." | $SENDMAIL -s "$subj" "$email" "yes"
     echo "not enough diskspace available to perform the backup." | $SENDMAIL -s "$subj" "$email" "yes"
-    check_result "$E_LIMIT ""not enough diskspace available to perform the backup."
+    check_result "$E_LIMIT" "not enough diskspace available to perform the backup."
 fi
 fi
 
 
 if [ -z "$BACKUP_TEMP" ]; then
 if [ -z "$BACKUP_TEMP" ]; then