Cleanup linter issues

This commit is contained in:
Johannes Zellner
2017-04-19 13:20:24 +02:00
parent 68a1efe3d3
commit 65af062c33
3 changed files with 4 additions and 5 deletions

View File

@@ -969,7 +969,7 @@ function getLogs(options, callback) {
if (u === 'box') args.push('--unit=box');
else if (u === 'mail') args.push('CONTAINER_NAME=mail');
});
if (format == 'short') args.push('--output=short', '-a'); else args.push('--output=json');
if (format === 'short') args.push('--output=short', '-a'); else args.push('--output=json');
if (follow) args.push('--follow');
var cp = spawn('/bin/journalctl', args);