bug fixes

This commit is contained in:
Oliver Gorwits
2017-10-06 07:48:58 +01:00
parent b58a5816a9
commit 8b660a89c0
8 changed files with 10 additions and 10 deletions

View File

@@ -125,7 +125,7 @@ foreach my $host (@hostlist) {
my $actiontext = (
($job->device ? ('['.$job->device->ip.']') : '') .
($job->action eq 'show' ? ('/'.$job->subaction) : '')
($job->action eq 'show' ? ('/'. ($job->subaction || 'interfaces')) : '')
);
# do job