summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-16 16:51:31 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-16 16:51:31 -0700
commit0f2d5e4e6cc39c085c0f84ce13f08e208abe356d (patch)
tree5d25c6de257a3aca6a950d31dcc791ddee6d15b9
parent8b7df21fa1857bc9069a8745ec664bc84f992154 (diff)
downloadvyatta-op-0f2d5e4e6cc39c085c0f84ce13f08e208abe356d.tar.gz
vyatta-op-0f2d5e4e6cc39c085c0f84ce13f08e208abe356d.zip
fix typo in tech-support script
-rwxr-xr-xfunctions/tech-support2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/tech-support b/functions/tech-support
index 5d92710..8765959 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -348,7 +348,7 @@ for path in /opt/vyatta/config/active/system/login/user/* ; do
root) file="/root/.bash_history";;
*) file="/home/$user/.bash_history";;
esac;
-cat .bash_history | gawk '/^#[0-9]*/ {t = substr($0,2); next} {print strftime("%FT%T%z", t) " " $0}' | sort -u
+ cat $file | gawk '/^#[0-9]*/ {t = substr($0,2); next} {print strftime("%FT%T%z", t) " " $0}' | sort -u
done
header Login History