diff --git a/cdist/conf/type/__link/explorer/state b/cdist/conf/type/__link/explorer/state
index 48278d9e..b8d8fc2b 100755
--- a/cdist/conf/type/__link/explorer/state
+++ b/cdist/conf/type/__link/explorer/state
@@ -35,7 +35,8 @@ case "$type" in
cd "$destination_dir"
source_is=$(ls -l "$destination" | sed 's/.*-> //g')
if [ -h "$destination" ]; then
- if [ "$source_is" = "$source" ]; then
+ # ignore trailing slashes for comparison
+ if [ "${source_is%/}" = "${source%/}" ]; then
echo present
else
echo wrongsource