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

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