summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/swall2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/swall b/scripts/swall
index 9c2a338..bc288b8 100755
--- a/scripts/swall
+++ b/scripts/swall
@@ -60,7 +60,7 @@ shift $((OPTIND - 1))
[ ${#} != 0 ] && err "${0}: Invalid usage" "Try '${0} -h' for help."
if [ -n "${input}" ]; then
- case $(file -b --mime-type "${input}") in
+ case $(file -L -b --mime-type "${input}") in
image/*) image="${input}" ;;
inode/directory) waldir="${input}" ;;