Index: uspace/app/bdsh/exec.c
===================================================================
--- uspace/app/bdsh/exec.c	(revision 2d11a7d86e751706f4d990ffdbd99edec012e4c8)
+++ uspace/app/bdsh/exec.c	(revision 7114d836ff84c10f98376e50246b4d5e34146131)
@@ -114,4 +114,5 @@
 	task_id_t tid;
 	char *tmp;
+	int retval;
 
 	tmp = str_dup(find_command(cmd));
@@ -126,5 +127,8 @@
 	}
 	
-	task_wait(tid);
+	task_wait(tid, &retval);
+	if (retval != 0)
+		printf("Command failed (return value %d).\n", retval);
+
 	return 0;
 }
Index: uspace/app/getvc/getvc.c
===================================================================
--- uspace/app/getvc/getvc.c	(revision 2d11a7d86e751706f4d990ffdbd99edec012e4c8)
+++ uspace/app/getvc/getvc.c	(revision 7114d836ff84c10f98376e50246b4d5e34146131)
@@ -74,4 +74,6 @@
 int main(int argc, char *argv[])
 {
+	int retval;
+
 	if (argc < 3) {
 		usage();
@@ -98,5 +100,5 @@
 	version_print(argv[1]);
 	task_id_t id = spawn(argv[2]);
-	task_wait(id);
+	task_wait(id, &retval);
 	
 	return 0;
