diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -61,6 +61,9 @@ module.exports = function(grunt) {
         files: {
           'tmp/yuicompress.css': ['test/fixtures/style.less']
         }
+      },
+      nomatchedfiles: {
+        files: { "tmp/nomatchedfiles.css" : 'test/nonexistent/*.less' }
       }
     },
 
diff --git a/tasks/less.js b/tasks/less.js
index <HASH>..<HASH> 100644
--- a/tasks/less.js
+++ b/tasks/less.js
@@ -39,7 +39,7 @@ module.exports = function(grunt) {
 
       if (files.length === 0) {
         // No src files, goto next target. Warn would have been issued above.
-        nextFileObj();
+        return nextFileObj();
       }
 
       var compiled = [];
@@ -101,4 +101,4 @@ module.exports = function(grunt) {
     grunt.log.error(message);
     grunt.fail.warn('Error compiling LESS.');
   };
-};
\ No newline at end of file
+};
Fixes #<I>: Don't let async.forEachSeries overrun

asyncforEachSeries' continue() callback must be the last executed
statement or it will iterate past the last item in the collection.

This will then cause 'f' to be undefined in that iteration.