quote the link name so that spaces don't break it
This commit is contained in:
parent
758a9b36a0
commit
8009bce3d9
|
@ -293,7 +293,7 @@ MAIN: while( $loop ) {
|
|||
if ( confirm() )
|
||||
{
|
||||
( $link ) = ( $link =~ /^(.*)$/ ); # De-taint
|
||||
my $command = "rm $link";
|
||||
my $command = qq`rm "$link"`;
|
||||
executeShellCommand( $command );
|
||||
$cleaned = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue