mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Fix bug where the sudo helper failed in os initialize
Change-type: patch Signed-off-by: Tim Perry <tim@resin.io>
This commit is contained in:
parent
b6ef251625
commit
802ccc1b9a
@ -62,7 +62,7 @@ export function stateToString(state: OperationState) {
|
||||
|
||||
export function sudo(
|
||||
command: string[],
|
||||
{ stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string },
|
||||
{ stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string } = {},
|
||||
) {
|
||||
const { executeWithPrivileges } = require('./sudo');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user