mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-11-21 04:42:04 +00:00
Do not eject if writing to png
This commit is contained in:
@@ -397,7 +397,7 @@ int main(int argc, char *argv[])
|
|||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ptouch_eject(ptdev) != 0) {
|
if (!save_png && ptouch_eject(ptdev) != 0) {
|
||||||
printf(_("ptouch_eject() failed\n"));
|
printf(_("ptouch_eject() failed\n"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user