graysky2/profile-sync-daemon — pull request #9 by xduugu (2012-11-28 14:18:24+00:00)
Title: Exclude empty process names when checking for running browsers

$PSNAME can currently be empty for the firefox and heftig-aurora browsers if
their profile folders do not exist. In this case, pgrep returns the PIDs of all
process assigned to the user, making psd think that a browser is running and
therefore psd refuses to start.