working on repo maintenance routines
[nodejs-repoproxy.git] / lib / repo-yum.js
index 38a8f87..a78be2e 100644 (file)
@@ -86,13 +86,13 @@ function maintain(name, repoinfo, files) {
                        
                        
                        // make sure we have a metadata file for our file
-                       fs.stat(metafile, function(err, stats)) {
+                       fs.stat(metafile, function(err, stats) {
                                if(err) {
                                        log.debug("file (%s) has no metadata file - moving for cleanup");
                                        cache.moveToCleanup(files[i]);
                                        cache.moveToCleanup(metafile);
                                }
-                       }
+                       });
                        
                        // check meta data
                        fs.stat(files[i], function(err, stats) {