* Stefan Schwarzer <stefan.schwar...@gmx.net> [210707 08:27]: > While testing a script, I stumbled over a case where kpartx -av (expectedly) > failed to > setup loop devices for a standard text file. > The script failed later because the exit code of the command was 0 > (echo $? directly after execution of kpartx -av <text file>), which I > expected to signal > success.
kpartx returns the number of operations it has performed. Changing this now would probably break all other already existing scripts. If you want this, please discuss it with upstream. Chris