calmh/syncthing — pull request #212 by Nutomic (2014-05-13 23:00:08+00:00)
Title: Only call getDefaultConfDir() if -home flag is not set.

This lets syncthing work if $HOME is not set, as long as -home flag is passed.
Previously, the call to getDefaultConfDir() would call expandTilde(), then
getHomeDir() and then crash with "no home directory found".