1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-05-13 23:32:59 +00:00

Do not eject if writing to png

This commit is contained in:
Christer Palm 2017-09-24 01:27:09 +02:00
parent 51168d3b98
commit e00645e6c7

View File

@ -397,7 +397,7 @@ int main(int argc, char *argv[])
usage(argv[0]);
}
}
if (ptouch_eject(ptdev) != 0) {
if (!save_png && ptouch_eject(ptdev) != 0) {
printf(_("ptouch_eject() failed\n"));
return -1;
}