Browse Source

Fail if no file is available

master
Jack L. Frost 7 years ago
parent
commit
9695ac5418
  1. 5
      sup

5
sup

@ -163,6 +163,11 @@ main() {
}
else
file="$target"
[[ -f "$file" ]] || {
sup.err "No such file: ${file}"
return 1
}
fi
fi

Loading…
Cancel
Save