mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-18 13:55:26 +01:00
Do not eject if writing to png
This commit is contained in:
parent
51168d3b98
commit
e00645e6c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue