Remove unused compile-time option to not use vfork

This commit is contained in:
Robin Gareus 2020-10-31 22:30:45 +01:00
parent edc70200c4
commit a9bd7b2848
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 2 additions and 169 deletions

View file

@ -560,14 +560,10 @@ PulseAudioBackend::control_app_name () const
void
PulseAudioBackend::launch_control_app ()
{
#ifdef NO_VFORK
(void) system ("pavucontrol");
#else
if (::vfork () == 0) {
::execlp ("pavucontrol", "pavucontrol", (char*)NULL);
exit (EXIT_SUCCESS);
}
#endif
}
/* State Control */