Don't sudo when editing the config

This commit is contained in:
Shell Turner 2014-10-01 18:45:34 +02:00
parent b7fd64c2d8
commit cb588dc22f
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ program
.description("Edit config: '" + CONFIG_PATH + "'")
.action(function() {
child.spawn(
"sudo",
["vi", CONFIG_PATH],
"vi",
[CONFIG_PATH],
{stdio: "inherit"}
);
});