diff --git a/bin/qemush b/bin/qemush index 92eb503..8c11e7c 100755 --- a/bin/qemush +++ b/bin/qemush @@ -93,7 +93,7 @@ public_diskls() { public_edit() { local file="${bin}/${1}" "$EDITOR" "$file" - exec chmod u+x "$file" + [ -f "$file" ] && exec chmod u+x "$file" } public_rm() {