diff options
-rwxr-xr-x | functions/aliases.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/functions/aliases.sh b/functions/aliases.sh index 5d8b1cead..3df028f61 100755 --- a/functions/aliases.sh +++ b/functions/aliases.sh @@ -36,6 +36,9 @@ Truncate () { for FILE in ${@} do - : > ${FILE} + if [ ! -L ${FILE} ] + then + : > ${FILE} + fi done } |