mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
util.c: avoid dead store to "flag"
* src/util.c (virExecDaemonize): Change flag |= VAR to "flag | VAR".
This commit is contained in:
parent
1ad59dd152
commit
94f0c4abd9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user