diff options
author | TheTroll <trolldev@gmail.com> | 2010-04-01 15:03:36 +0200 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-04-01 15:03:36 +0200 |
commit | d6420501bc777be979d89171e7ed131273d97c58 (patch) | |
tree | a36fbfb4169383c55ff43ed1fee4f55a54568bc7 /bin/istream.sh | |
parent | f71315d724f52551980f50b446697fe6130fc451 (diff) | |
download | istreamdev-d6420501bc777be979d89171e7ed131273d97c58.tar.gz istreamdev-d6420501bc777be979d89171e7ed131273d97c58.tar.bz2 |
Error handling
Diffstat (limited to 'bin/istream.sh')
-rwxr-xr-x | bin/istream.sh | 6 |
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 |