Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <jess@oxide.computer>
  • Loading branch information
jessfraz committed Feb 25, 2021
1 parent 76982f2 commit ddbc1f5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .dockerfunc
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,13 @@ nginx(){
sudo hostess add jess 127.0.0.1
}
nmap(){
docker run --rm -it \
--net host \
${DOCKER_REPO_PREFIX}/nmap "$@"
if [[ -n "$(which nmap)" ]]; then
"$(which nmap)" "$@"
else
docker run --rm -it \
--net host \
${DOCKER_REPO_PREFIX}/nmap "$@"
fi
}
notify_osd(){
del_stopped notify_osd
Expand Down

0 comments on commit ddbc1f5

Please sign in to comment.