We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ltfs -o device_list
1 parent 18ae70c commit 82024a9Copy full SHA for 82024a9
src/libltfs/ltfs.c
@@ -4371,7 +4371,7 @@ int ltfs_print_device_list(struct tape_ops *ops)
4371
}
4372
4373
4374
- ret = 0;
+ //ret = 0;
4375
4376
return ret;
4377
src/main.c
@@ -708,7 +708,7 @@ int main(int argc, char **argv)
708
if (priv->device_list) {
709
ret = show_device_list(priv);
710
ltfs_finish();
711
- return (ret != 0) ? 0 : 1;
+ return ret ? 1 : 0;
712
713
714
/* Validate sync option */
0 commit comments