diff --git a/scan.php b/scan.php
index a089b27..77f1038 100755
--- a/scan.php
+++ b/scan.php
@@ -33,7 +33,7 @@ if (isset($options["sudo"])) $command = "sudo $command";
 
 if (isset($options["name"])) {
     $path = "$SCANSDIR/{$options["name"]}.xml";
-    $command .= " | tee '$path'"
+    $command .= " | tee '$path'";
 }
 
 header('Content-type: text/xml');