mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 12:42:41 +00:00
Don't abort diskio objects initialisation if the given device doesn't exist, we could have these objects iffed; closes LP: #405188
This commit is contained in:
parent
bf1dea5e4e
commit
08e40c1fe8
@ -86,7 +86,6 @@ struct diskio_stat *prepare_diskio_stat(const char *s)
|
|||||||
|
|
||||||
if (stat(stat_name, &sb)) {
|
if (stat(stat_name, &sb)) {
|
||||||
NORM_ERR("diskio device '%s' does not exist", s);
|
NORM_ERR("diskio device '%s' does not exist", s);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* lookup existing */
|
/* lookup existing */
|
||||||
|
Loading…
Reference in New Issue
Block a user