summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/live-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/live-snapshot b/bin/live-snapshot
index 85a0ab5..0dcfae1 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -397,7 +397,7 @@ Do_snapshot ()
if [ -e "${EXCLUDE_LIST}" ]
then
# Add explicitly excluded files
- cat "${EXCLUDE_LIST}" | grep -v '^#.*$' | grep -v '^ *$' >> "${TMP_FILELIST}"
+ grep -v '^#.*$' "${EXCLUDE_LIST}" | grep -v '^ *$' >> "${TMP_FILELIST}"
fi
cd "${OLDPWD}"