mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-19 08:18:07 +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:
@ -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');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user