Ignore:
Timestamp:
Jan 12, 2006, 5:37:42 PM (14 years ago)
Author:
bcornec
Message:

use df -P everywhere to avoid split lines on df output and some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.06/mondo/mondo/common/libmondo-archive.c

    r296 r305  
    545545    if (g_tmpfs_mountpt[0] != '\0') {
    546546        i = atoi(call_program_and_get_last_line_of_output
    547                  ("df -m | grep dev/shm | grep -v none | tr -s ' ' '\t' | cut -f4"));
     547                 ("df -m -P | grep dev/shm | grep -v none | tr -s ' ' '\t' | cut -f4"));
    548548        if (i > 0) {
    549549            if (free_ramdisk_space > i) {
Note: See TracChangeset for help on using the changeset viewer.