diff --git a/check_links_include.py b/check_links_include.py
index c3b70536ea4a5611fc7cb0eab2f0841eb425cd72..3d53ab13dd8bb1ea25775a326fa8768206c9e3e1 100644
--- a/check_links_include.py
+++ b/check_links_include.py
@@ -20,7 +20,7 @@ for filename in iglob('*/*/*.md'):
 
 no_tag = []
 for filename in section_markdown_files:
-    cmd = r"tail -5 " + filename + r" | egrep '{% include links.md %}' &> /dev/null"
+    cmd = r"tail -5 " + filename + r" | egrep '{% include links.md %}' > /dev/null"
     try:
         exit_code = subprocess.check_call(cmd, shell=True)
     except subprocess.CalledProcessError: