From: Cesare Tirabassi Date: Fri, 14 Aug 2009 16:32:39 +0000 (+0200) Subject: Don't abort diskio objects initialisation if the given device doesn't exist, we could... X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=08e40c1fe85a5a3a578da716df4ce2f2b095bb62;p=monky Don't abort diskio objects initialisation if the given device doesn't exist, we could have these objects iffed; closes LP: #405188 --- diff --git a/src/diskio.c b/src/diskio.c index 8b407b3..d1bb74b 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -86,7 +86,6 @@ struct diskio_stat *prepare_diskio_stat(const char *s) if (stat(stat_name, &sb)) { NORM_ERR("diskio device '%s' does not exist", s); - return 0; } /* lookup existing */