Skip over potential error messages from "df"

Review Request #103633 - Created Jan. 5, 2012 and submitted

Information
Christoph Feck
kdf
289671
Reviewers
kdeutils
rkcosta
As seen in bug 289671, "kdf" aborts (crashes) when the "df" output does not start with "Filesystem". The error message from gvfs is marked as WONTFIX in upstream bug trackers, so we have to deal with those messages.

The proposed patch skips any leading messages, and only aborts when no "Filesystem" string could be found.

  
Raphael Kubo da Costa
Commit Hook
Commit Hook
Christoph Feck
Review request changed

Status: Closed (submitted)

Loading...