vdagentd: init static uinput before fork
Otherwise the caller doesn't know that the init failed
because we're returning 0 in the parent and 1 in child.
Signed-off-by: Jakub Janků <jjanku@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
(cherry picked from commit 7b0435ef66af088c1a1be20b6bc6b0fcb76e4e1a)
patch_name: 0002-vdagentd-init-static-uinput-before-fork.patch
present_in_specfile: true
location_in_specfile: 2
squash_commits: true