]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/qos/migrate.pl
Fix sytax error in migrate.pl
[ipfire-2.x.git] / config / qos / migrate.pl
index 5c93d26ecef8d57b028a61a3b9d3157755892ca3..f6b1b0fe225e5df803cf91aa909772579ee43308 100755 (executable)
@@ -122,6 +122,6 @@ system("/etc/init.d/collectd start");
 system("/usr/local/bin/qosctrl start");
 
 # Finaly we will delete unneeded evt files and touch the migration file
-system("rf $rrddir/*.evt");
+system("rm -f $rrddir/*.evt");
 system("touch $rrddir/migrated");
 exit 0;