Commit f499a512 authored by Christophe Fergeau's avatar Christophe Fergeau

vdagent: Use g_file_test() instead of direct stat call

vdagent.c has a 'file_test' function which tests for the existence of
the /dev entry for the spicevmc channel. glib already provides such a
g_file_test() function, so we can use it instead.
Signed-off-by: Christophe Fergeau's avatarChristophe Fergeau <cfergeau@redhat.com>
Acked-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
parent 149bba91
Pipeline #17095 passed with stage
in 19 minutes and 4 seconds