mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-27 06:20:14 +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(
|
export function sudo(
|
||||||
command: string[],
|
command: string[],
|
||||||
{ stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string },
|
{ stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string } = {},
|
||||||
) {
|
) {
|
||||||
const { executeWithPrivileges } = require('./sudo');
|
const { executeWithPrivileges } = require('./sudo');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user