Detect systems that have no user name set in GECOS, and also don't have user.name set in git config, and put in a workaround so that commits to the git-annex branch (and the assistant) will still succeed despite git not liking the system configuration.
This commit is contained in:
parent
8861e270be
commit
9cb223a8b3
6 changed files with 24 additions and 10 deletions
|
@ -154,7 +154,6 @@ import Assistant.Threads.XMPPClient
|
|||
#warning Building without the webapp. You probably need to install Yesod..
|
||||
import Assistant.Types.UrlRenderer
|
||||
#endif
|
||||
import Assistant.Environment
|
||||
import qualified Utility.Daemon
|
||||
import Utility.LogFile
|
||||
import Utility.ThreadScheduler
|
||||
|
@ -198,8 +197,6 @@ startDaemon assistant foreground listenhost startbrowser = do
|
|||
| otherwise = "watch"
|
||||
start daemonize webappwaiter = withThreadState $ \st -> do
|
||||
checkCanWatch
|
||||
when assistant
|
||||
checkEnvironment
|
||||
dstatus <- startDaemonStatus
|
||||
logfile <- fromRepo gitAnnexLogFile
|
||||
liftIO $ debugM desc $ "logging to " ++ logfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue