Missing command argument

This commit is contained in:
Thomas Forgione 2018-10-17 10:16:11 +02:00
parent c40fbdc3d7
commit 0dfd436738
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 3 deletions

View File

@ -65,10 +65,8 @@ ret.execute_command = function(command, arg)
elseif start_server_command then elseif start_server_command then
-- Start the server and re-exec the command -- Start the server and re-exec the command
awful.spawn.easy_async({'music-server', command, arg}, function(stdout, stderr, reason, code) awful.spawn.easy_async({'music-server', 'command', command, arg}, function(stdout, stderr, reason, code)
end) end)
os.execute('music-server&')
else else
set_text('music-server not running') set_text('music-server not running')
end end