summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2008-03-10 18:19:57 -0700
committerMohit Mehta <mohit@vyatta.com>2008-03-10 18:19:57 -0700
commit7a70d083c82b405cde8f66e0e8663400301bbb44 (patch)
tree17a78559ef07b02565a3d8f858528648895927f1 /scripts
parentdb11fc06b97704620f3c858f6fe8dc1291b988dc (diff)
downloadvyatta-op-7a70d083c82b405cde8f66e0e8663400301bbb44.tar.gz
vyatta-op-7a70d083c82b405cde8f66e0e8663400301bbb44.zip
Fix Bug 2707 Missing from Glendale
- Delete log file <> enhancement
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyatta-delete-log-file.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-delete-log-file.sh b/scripts/vyatta-delete-log-file.sh
index d0463dd..8562738 100644
--- a/scripts/vyatta-delete-log-file.sh
+++ b/scripts/vyatta-delete-log-file.sh
@@ -1,8 +1,8 @@
#!/bin/sh
-if [ -e /var/log/user/$1 ]
+if [ -e /var/log/user/"$1" ]
then
- rm -f /var/log/user/$1
+ rm -f /var/log/user/"$1"
else
echo "File does not exist"
fi