提交 94f0c4ab 编写于 作者: J Jim Meyering

util.c: avoid dead store to "flag"

* src/util.c (virExecDaemonize): Change flag |= VAR to "flag | VAR".
上级 1ad59dd1
......@@ -663,7 +663,7 @@ int virExecDaemonize(virConnectPtr conn,
ret = virExecWithHook(conn, argv, envp, keepfd, retpid,
infd, outfd, errfd,
flags |= VIR_EXEC_DAEMON,
flags | VIR_EXEC_DAEMON,
hook, data, pidfile);
/* __virExec should have set an error */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册