summaryrefslogtreecommitdiffstats
path: root/auth/sample/logs/taillog
diff options
context:
space:
mode:
Diffstat (limited to 'auth/sample/logs/taillog')
-rw-r--r--auth/sample/logs/taillog3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/sample/logs/taillog b/auth/sample/logs/taillog
index 2b3de6e5..5689caa4 100644
--- a/auth/sample/logs/taillog
+++ b/auth/sample/logs/taillog
@@ -1,2 +1,3 @@
+#!/bin/bash
cd /opt/app/osaaf/logs
-tail -f `find . -name *service*.log -ctime 0`
+tail -f `find ./$1 -name *service*.log -ctime 0`