Revision 73b16ca1
b/htools/Ganeti/Query/Server.hs | ||
---|---|---|
224 | 224 |
prepQueryD fpath = do |
225 | 225 |
let socket_path = fromMaybe Path.defaultQuerySocket fpath |
226 | 226 |
cleanupSocket socket_path |
227 |
s <- getServer socket_path |
|
227 |
s <- describeError "binding to the Luxi socket" |
|
228 |
Nothing (Just socket_path) $ getServer socket_path |
|
228 | 229 |
return (socket_path, s) |
229 | 230 |
|
230 | 231 |
-- | Main function that runs the query endpoint. |
Also available in: Unified diff