summaryrefslogtreecommitdiff
path: root/src/share/common
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-04-06 21:04:31 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-04-06 21:04:31 -0400
commit8a10cedafffa08873508598c9bff0c12e1c5d278 (patch)
tree09509e9bb9a0fc08388409d94730568feb2457a9 /src/share/common
parentcb31db06f2432e5701eb2478b1cffac9e7c168d4 (diff)
actually check for md5 in the path within file_hash()
Diffstat (limited to 'src/share/common')
-rw-r--r--src/share/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/common b/src/share/common
index 1ce07fc..ac0b5d6 100644
--- a/src/share/common
+++ b/src/share/common
@@ -254,7 +254,7 @@ check_capability() {
file_hash() {
if type md5sum &>/dev/null ; then
md5sum "$1"
- elif type lockfile &>/dev/null ; then
+ elif type md5 &>/dev/null ; then
md5 "$1"
else
failure "Neither md5sum nor md5 are in the path!"