diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-19 00:12:16 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-19 00:12:16 +0200 |
commit | 93b84bfff5b41e491879864e4d9f6c62dc4b10b4 (patch) | |
tree | c1c1fad6f2afa3a83652f795e02cb5ee701c05b2 /svlogtail | |
parent | 94d2026cca60c62b73e4a569eb35c8cbdbaa0d97 (diff) | |
download | socklog-void-93b84bfff5b41e491879864e4d9f6c62dc4b10b4.tar.gz socklog-void-93b84bfff5b41e491879864e4d9f6c62dc4b10b4.tar.xz socklog-void-93b84bfff5b41e491879864e4d9f6c62dc4b10b4.zip |
svlogtail: fail for nonexistent logs
Diffstat (limited to 'svlogtail')
-rwxr-xr-x | svlogtail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svlogtail b/svlogtail index f61f262..4daa2f9 100755 --- a/svlogtail +++ b/svlogtail @@ -16,6 +16,7 @@ else cur="$cur /var/log/socklog/$log/current" else echo "no logs for $log" 1>&2 + exit 1 fi done cat $old $cur | sort |