summaryrefslogtreecommitdiff
path: root/scripts/vyatta-delete-log-file.sh
blob: 856273868d3f3db1847b69772a495e801afbfffd (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