diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-03-17 12:54:37 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-03-17 14:51:06 +0100 |
commit | d64c3ebb1034a14ff28a895d89ca074830c47255 (patch) | |
tree | 0d49438d30387dcf23aac5c5d667e3d545c2faf4 | |
parent | 172b0dfa400f2b929b514123a0af767f74416184 (diff) |
vdagentd: Don't open virtio port if creating uinput fails
There is little use in opening the virtio port when uinput creation has failed,
since we will exit as soon as control is returned back to the main loop.
-rw-r--r-- | vdagentd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -362,6 +362,7 @@ static void check_xorg_resolution(void) { fprintf(logfile, "Fatal uinput error\n"); retval = 1; quit = 1; + return; } if (!virtio_port) { |