Skip to content

Commit

Permalink
Fix set unit
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jun 16, 2024
1 parent 58a37cb commit b324e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudoutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ switch (cli.args.shift()) {
case 'UNIT_SET':
arg = cli.args.shift();
unit = spawn('curl', ['-X', 'PUT',
'-data-binary', '@' + env.UNIT_TMP, '--unix-socket',
'--data-binary', '@' + env.UNIT_TMP, '--unix-socket',
env.UNIT_SOCKET, 'http://localhost/config' + arg], {
stdio: 'inherit',
});
Expand Down

0 comments on commit b324e05

Please sign in to comment.