grisu / gricli

Grisu commandline client
7 stars 2 forks source link

exception on clean jobs with no jobs #198

Closed mondkaefer closed 13 years ago

mondkaefer commented 13 years ago

jobs> clean jobs Cleaning 0 jobs... null grisu.gricli.GricliRuntimeException at grisu.gricli.command.KillJobCommand.execute(KillJobCommand.java:91) at grisu.gricli.Gricli.runCommand(Gricli.java:307) at grisu.gricli.Gricli.executionLoop(Gricli.java:96) at grisu.gricli.Gricli.main(Gricli.java:281)

makkus commented 13 years ago

"clean jobs" is now removed and replaced with "clean job"

clean job without argument gives the "command failed. Either connection... " - error message. Will make that a bit prettier but stack trace is gone.