blockdev-util: let us know if block_get_whole_disk() did anything

This commit is contained in:
Lennart Poettering 2019-05-21 18:00:54 +02:00
parent 51f14fa111
commit a0ea1dee7b
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ int block_get_whole_disk(dev_t d, dev_t *ret) {
return -errno;
*ret = devt;
return 0;
return 1;
}
int get_block_device(const char *path, dev_t *dev) {