summaryrefslogtreecommitdiff
path: root/bin/istream.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/istream.sh')
-rwxr-xr-xbin/istream.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/istream.sh b/bin/istream.sh
index 09503d3..1e843e0 100755
--- a/bin/istream.sh
+++ b/bin/istream.sh
@@ -31,6 +31,12 @@ fi
# sending it to the segmenter via a PIPE
##############################################################
+# Check that the session dir exists
+if [ ! -e ../ram/$SESSION ]
+then
+ exit;
+fi
+
cd ../ram/$SESSION
# Create a fifo