From 8009bce3d92c757bc65a9994ff4060b5b6ff35d0 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 13 Dec 2016 13:23:20 -0500 Subject: [PATCH] quote the link name so that spaces don't break it --- scripts/zmaudit.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index 7f2df08b9..3bd8aa99a 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -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; }