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:
parent
51168d3b98
commit
e00645e6c7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user