Don't sudo when editing the config
This commit is contained in:
parent
b7fd64c2d8
commit
cb588dc22f
@ -20,8 +20,8 @@ program
|
|||||||
.description("Edit config: '" + CONFIG_PATH + "'")
|
.description("Edit config: '" + CONFIG_PATH + "'")
|
||||||
.action(function() {
|
.action(function() {
|
||||||
child.spawn(
|
child.spawn(
|
||||||
"sudo",
|
"vi",
|
||||||
["vi", CONFIG_PATH],
|
[CONFIG_PATH],
|
||||||
{stdio: "inherit"}
|
{stdio: "inherit"}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user