diff options
author | Jakob Unterwurzacher | 2015-11-01 15:21:34 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-01 15:21:34 +0100 |
commit | c272e3042fd80e0ee1c7bed6e2482ed444f86412 (patch) | |
tree | 0a6c5daab90505152039c61059b0a941e35610c8 /main.go | |
parent | 2394d644e8d976c4ccdaf8b1b9fbc27513df04ae (diff) |
Fix daemonization regression
Commit af923d2d16e0eedc7d2c203e28a42b6af49a51f5 broke daemonization.
Revert the change but get rid of the warning message when running
in the foreground.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -199,10 +199,8 @@ func main() { } fmt.Println("Filesystem ready.") - if !foreground { - // Send notification to our parent - sendUsr1() - } + // Send notification to our parent + sendUsr1() // Wait for SIGING in the background and unmount ourselves if we get it // This prevents a dangling "Transport endpoint is not connected" mountpoint handleSigint(srv, mountpoint) |