summaryrefslogtreecommitdiff
path: root/scripts/vyatta-delete-log-file.sh
blob: d0463ddebd6cfee78cbcd7ff9d63ba11e4d2894f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -e /var/log/user/$1 ]
then
   rm -f /var/log/user/$1
else
   echo "File does not exist"
fi