summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 8ad214a..7546088 100644
--- a/functions
+++ b/functions
@@ -87,7 +87,7 @@ add_device ()
add_symlink ()
{
local fil dest dir
- if [ -L ${1} ]; then
+ if [ -h ${1} ]; then
fil="${1##$BASEDIR}"
dest="${2##$BASEDIR}"
add_dir $(dirname "${dest}")