diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyatta-delete-log-file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-delete-log-file.sh b/scripts/vyatta-delete-log-file.sh index 8562738..577106d 100644 --- a/scripts/vyatta-delete-log-file.sh +++ b/scripts/vyatta-delete-log-file.sh @@ -2,7 +2,7 @@ if [ -e /var/log/user/"$1" ] then - rm -f /var/log/user/"$1" + echo -n "" > /var/log/user/"$1" else echo "File does not exist" fi |