remove ifdef for socket cleanup
This commit is contained in:
@@ -1003,10 +1003,8 @@ int inner_main(int argc, char * argv[], bool show_instructions)
|
|||||||
avahi_glib_poll_free(glib_poll);
|
avahi_glib_poll_free(glib_poll);
|
||||||
g_main_loop_unref(main_loop);
|
g_main_loop_unref(main_loop);
|
||||||
|
|
||||||
#if WIVRN_USE_SYSTEMD
|
|
||||||
std::error_code ec;
|
std::error_code ec;
|
||||||
std::filesystem::remove(socket_path(), ec);
|
std::filesystem::remove(socket_path(), ec);
|
||||||
#endif
|
|
||||||
|
|
||||||
return wivrn_exit_code::success;
|
return wivrn_exit_code::success;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user