mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Fixed error on MacOS
This commit is contained in:
parent
18841a0d4e
commit
01663194e2
@ -26,6 +26,6 @@ done
|
|||||||
if [[ -z "$lines_to_delete" ]]; then
|
if [[ -z "$lines_to_delete" ]]; then
|
||||||
echo "All arguments passed were invalid lines in $known_hosts_path"
|
echo "All arguments passed were invalid lines in $known_hosts_path"
|
||||||
else
|
else
|
||||||
sed -i'' "$lines_to_delete" "$known_hosts_path"
|
sed -i'' -e "$lines_to_delete" "$known_hosts_path"
|
||||||
echo "Deleted lines $(echo $(echo "$lines_to_delete" | sed 's/d;/, /g') | sed 's/.$//' )"
|
echo "Deleted lines $(echo $(echo "$lines_to_delete" | sed 's/d;/, /g') | sed 's/.$//' )"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user