scripts: Small fix for POSIX-compliance

This commit is contained in:
cloudhead 2023-09-26 13:11:12 +02:00
parent 1376ab63c0
commit e57dbc337a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RAD_HOME=${RAD_HOME:-"$HOME/.radicle"}
REPO=$(echo "$1" | sed 's/rad://') REPO=$(echo "$1" | sed 's/rad://')
REMOTE=$2 REMOTE=$2
if [ "$REMOTE" == "$(rad self --nid)" ]; then if [ "$REMOTE" = "$(rad self --nid)" ]; then
echo "Error: refusing to delete your own remote" echo "Error: refusing to delete your own remote"
exit 1 exit 1
fi fi