Index: uspace/app/bdsh/cmds/modules/cat/cat.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 28a5ebdea900783081bd23e40f685b6b0479c63d)
+++ uspace/app/bdsh/cmds/modules/cat/cat.c	(revision cd6287931f05186767f2ccee516423a0342dfad2)
@@ -122,9 +122,10 @@
 	cons_event_t ev;
 	kbd_event_t *kev;
+	errno_t rc;
 
 	while (true) {
-		if (!console_get_event(console, &ev)) {
+		rc = console_get_event(console, &ev);
+		if (rc != EOK)
 			return;
-		}
 		if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS) {
 			kev = &ev.ev.key;
Index: uspace/app/bdsh/cmds/modules/cp/cp.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cp/cp.c	(revision 28a5ebdea900783081bd23e40f685b6b0479c63d)
+++ uspace/app/bdsh/cmds/modules/cp/cp.c	(revision cd6287931f05186767f2ccee516423a0342dfad2)
@@ -146,4 +146,5 @@
 {
 	va_list args;
+	errno_t rc;
 
 	va_start(args, message);
@@ -154,5 +155,7 @@
 		cons_event_t ev;
 		console_flush(con);
-		console_get_event(con, &ev);
+		rc = console_get_event(con, &ev);
+		if (rc != EOK)
+			exit(1);
 		if (ev.type != CEV_KEY || ev.ev.key.type != KEY_PRESS ||
 		    (ev.ev.key.mods & (KM_CTRL | KM_ALT)) != 0) {
