Don't abort diskio objects initialisation if the given device doesn't exist, we could...
authorCesare Tirabassi <norsetto@ubuntu.com>
Fri, 14 Aug 2009 16:32:39 +0000 (18:32 +0200)
committerCesare Tirabassi <norsetto@ubuntu.com>
Fri, 14 Aug 2009 16:32:39 +0000 (18:32 +0200)
src/diskio.c

index 8b407b3..d1bb74b 100644 (file)
@@ -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 */