util.c: avoid dead store to "flag"

* src/util.c (virExecDaemonize): Change flag |= VAR to "flag | VAR".
This commit is contained in:
Jim Meyering 2009-09-04 18:53:20 +02:00
parent 1ad59dd152
commit 94f0c4abd9

View File

@ -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 */