quote the link name so that spaces don't break it

This commit is contained in:
Isaac Connor 2016-12-13 13:23:20 -05:00
parent 758a9b36a0
commit 8009bce3d9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}