summaryrefslogtreecommitdiff
path: root/doc/forum/Privdata_corrupted_when_spinning_from_macOS/comment_4_7f6773e21b9bb62961b0c291d0f8b7d0._comment
blob: 733f7d339243cde106f080d7de80dedb07a57ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="mithrandi"
 avatar="http://cdn.libravatar.org/avatar/869963bdf99b541c9f0bbfb04b0320f1"
 subject="comment 4"
 date="2018-08-16T13:12:35Z"
 content="""
Err, this patch:

    --- a/src/Propellor/Spin.hs
    +++ b/src/Propellor/Spin.hs
    @@ -181,6 +181,8 @@
     -- running the updateServer
     update :: Maybe HostName -> IO ()
     update forhost = do
    +       hPrint stderr =<< hGetEncoding stdin
    +       hSetEncoding stdin utf8
            whenM hasGitRepo $
                    req NeedRepoUrl repoUrlMarker setRepoUrl

"""]]