Cat seems to hang forever
This commit is contained in:
@@ -121,7 +121,9 @@ static void *worker_task(zsock_t *pipe, char *disk_path) {
|
||||
case GUESTFS_COMMAND_CAT:
|
||||
char *res;
|
||||
size_t s;
|
||||
puts("catting file...");
|
||||
cat_file(g, command->args.cat.paths[0], &res, &s);
|
||||
puts("Done catting file contents...");
|
||||
zmsg_addmem(reply, res, s);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user