Fixed -eject for -indev, broken with commit b1d1edc

This commit is contained in:
Thomas Schmitt 2024-10-27 00:01:16 +02:00
parent ce9aba8926
commit b51c7b1db2
2 changed files with 2 additions and 2 deletions

View File

@ -833,7 +833,7 @@ int Xorriso_give_up_drive(struct XorrisO *xorriso, int flag)
do_eject= 0; do_eject= 0;
} }
if(drive!=NULL) if(drive!=NULL)
isoburn_drive_release_v2(drive, (do_eject << 1) | no_calm); isoburn_drive_release_v2(drive, do_eject ? 1 : no_calm);
if(dinfo!=NULL) if(dinfo!=NULL)
burn_drive_info_free(dinfo); burn_drive_info_free(dinfo);
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.10.06.093626" #define Xorriso_timestamP "2024.10.26.220042"