diff options
Diffstat (limited to 'scripts/vyatta-show-log-file')
-rwxr-xr-x | scripts/vyatta-show-log-file | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/vyatta-show-log-file b/scripts/vyatta-show-log-file deleted file mode 100755 index caf8ac9..0000000 --- a/scripts/vyatta-show-log-file +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [[ "$1" == */* ]]; then - echo "Invalid log file name" - exit 1 -fi - -if [ -f "/var/log/user/$1" ]; then - cat /var/log/user/$1 -else - echo "No such log file" -fi - |