summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2014-09-27 02:42:49 +0200
committermaximilian attems <maks@debian.org>2014-09-27 02:42:49 +0200
commit9274e84fd9a1c498c5a10c234b4c73000679ef2a (patch)
treef8f4b5979f297330f9d088fae599508c7c93c7d8 /scripts/functions
parent2a75843aa046fac4793bdaa2c5cfbe2d21a97d42 (diff)
scripts/functions: untested without busybox
Just remove the canonicalise for now. Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 11e8a10..9f5b9e0 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -496,7 +496,7 @@ resolve_device() {
;;
esac
# Only canonicalise if a valid file, in case $DEV isn't a filename
- [ -e "$DEV" ] && DEV=$(readlink -f "$DEV")
+ [ -e "$DEV" ] && DEV=$(readlink "$DEV")
echo "$DEV"
}