]> www.infradead.org Git - mtd-utils.git/commit
ubinfo: Fix --vol_id return code for absent volume id
authorAndrew Mellor <andrew.mellor@casa-systems.com>
Mon, 6 Jun 2022 06:38:46 +0000 (16:38 +1000)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 13 Jun 2022 11:39:05 +0000 (13:39 +0200)
commit9beb813521d23d7f957fc80c6603810893c8ee53
treebcde52c7f4e447d573c7e501d40a4bbb879e3576
parentf79d2b21614f11ea9f99dc5a3155d23439cec773
ubinfo: Fix --vol_id return code for absent volume id

When using --vol_id and that volume is missing, it should return
non-zero like the --name option does.

Signed-off-by: Andrew Mellor <andrew.mellor@casa-systems.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubi-utils/ubinfo.c