From 08e40c1fe85a5a3a578da716df4ce2f2b095bb62 Mon Sep 17 00:00:00 2001 From: Cesare Tirabassi Date: Fri, 14 Aug 2009 18:32:39 +0200 Subject: [PATCH] Don't abort diskio objects initialisation if the given device doesn't exist, we could have these objects iffed; closes LP: #405188 --- src/diskio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/diskio.c b/src/diskio.c index 8b407b38..d1bb74b2 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 */