X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2FBackupPC%2FCGI%2FQueue.pm;h=394905211d7bc2388713d00c107800677dbfbcdd;hb=82ffaa1c4130a34812fb241c2ea5cd3d0608bdab;hp=d2bf4b661441c1a0b5b0c81c8447fe7354fa989a;hpb=2c14784ad71874ec850d189060fe63d6eb9eba95;p=BackupPC.git diff --git a/lib/BackupPC/CGI/Queue.pm b/lib/BackupPC/CGI/Queue.pm index d2bf4b6..3949052 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-2007 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.0_CVS, released 8 Feb 2004. +# Version 3.1.0beta0, released 3 Sep 2007. # # 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}}");