"sudo foo &" may print out password prompt and wait input in background
(before actually running "foo") and never get it. Instead, start with
running dummy foreground command with sudo, to make sure the password
is cached when running next - background - command.
…mmand
"sudo foo &" may print out password prompt and wait input in background (before actually running "foo") and never get it. Instead, start with running dummy foreground command with sudo, to make sure the password is cached when running next - background - command.
Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org