X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2FBackupPC%2FCGI%2FQueue.pm;h=ab49c7106f50cdc2be58b09fb4753cfd7ea8e89e;hb=2b2ab40d38c95450034bc373a9acee8775bd53fa;hp=ba30e199407950616c69e6a602dde18c85c6bc45;hpb=ce708288691ba7dd95a8dac7a468bc0e4c1d6588;p=BackupPC.git diff --git a/lib/BackupPC/CGI/Queue.pm b/lib/BackupPC/CGI/Queue.pm index ba30e19..ab49c71 100644 --- a/lib/BackupPC/CGI/Queue.pm +++ b/lib/BackupPC/CGI/Queue.pm @@ -10,7 +10,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2003 Craig Barratt +# Copyright (C) 2003-2009 Craig Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ # #======================================================================== # -# Version 2.1.0beta0, released 20 Mar 2004. +# Version 3.2.0, released 31 Jul 2010. # # See http://backuppc.sourceforge.net. # @@ -71,12 +71,12 @@ EOF while ( @CmdQueue ) { my $req = pop(@CmdQueue); my $reqTime = timeStamp2($req->{reqTime}); - (my $cmd = $req->{cmd}[0]) =~ s/$BinDir\///; + (my $cmd = $bpc->execCmd2ShellCmd(@{$req->{cmd}})) =~ s/$BinDir\///; $strCmd .= < ${HostLink($req->{host})} $reqTime $req->{user} - $cmd $req->{cmd}[0] + $cmd EOF } my $content = eval ( "qq{$Lang->{Backup_Queue_Summary}}");