X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fcommon;h=ac0b5d6382a9dd2c345209d0b18d605b1ee84d27;hb=8a10cedafffa08873508598c9bff0c12e1c5d278;hp=04fe4fe462e9c7a540c5a582f2b50ffa4fbb387f;hpb=c0724b8e7aefd9ced1740a970941928f5b168b2b;p=monkeysphere.git diff --git a/src/share/common b/src/share/common index 04fe4fe..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!" @@ -445,7 +445,7 @@ check_key_file_permissions() { # return 2 if path has group or other writability if is_write "$gAccess" || is_write "$oAccess" ; then log error "improper group or other writability on path '$path':" - log error " group: $gAccess, other: $oAcess" + log error " group: $gAccess, other: $oAccess" return 2 fi