Your message dated Sun, 3 May 2020 16:25:26 +0200
with message-id <[email protected]>
and subject line Re: Bug#898426: [PATCH] partx: exit with error code when
partition read failed
has caused the Debian Bug report #898426,
regarding partx exit status 0 on some errors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
898426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.32-0.1
partx has a exit status of 0 when it fails to read the partition table:
root@loopy:~# partx -s - /dev/sda1
partx: /dev/sda1: failed to read partition table
root@loopy:~# echo $?
0
It behaves properly, however, when the disk cannot be read:
root@loopy:~# partx -s - /dev/none
partx: cannot open /dev/none: No such file or directory
root@loopy:~# echo $?
1
Thanks,
--
Juan Cespedes
--- End Message ---
--- Begin Message ---
Version: 2.32.1-0.1
Upstream applies this as b39f9862ee0cf867ff0afd0be1531063ca3263f9
and it was part of Debian upload 2.32.1-0.1.
--- End Message ---