original code has problems: dies if no running jobs at the moment (gnt-job watch...
authorMatija Nalis <mnalis-git@voyager.hr>
Thu, 9 Feb 2017 12:15:58 +0000 (13:15 +0100)
committerMatija Nalis <mnalis-git@voyager.hr>
Thu, 9 Feb 2017 12:15:58 +0000 (13:15 +0100)
commit3954150ce7b96292d8fc54f4b7e0258eed1c8011
tree1f759b260025b138c5a59e520095c026e53c350e
parente23031aff313f915aa7f57f86be40f7973dda585
original code has problems: dies if no running jobs at the moment (gnt-job watch without args throws error), dies if more than one job running (gnt-job watch with multiple args throws error), hammers the server if no jobs are running (no sleep)
gnt-running.sh