diff --git a/sup b/sup index f57b1a9..cc3d350 100755 --- a/sup +++ b/sup @@ -164,6 +164,11 @@ main() { } else file="$target" + + [[ -f "$file" ]] || { + sup.err "No such file: ${file}" + return 1 + } fi fi