diff --git a/register.sh b/register.sh index 8acb71f..38e2ab1 100755 --- a/register.sh +++ b/register.sh @@ -35,7 +35,7 @@ fi if [ -f "$CURRENTCONFIG" ]; then echo "Found config in $CURRENTCONFIG" echo "Backing up current config to $BACKUPDIR..." - mv "$CURRENTCONFIG" "$BACKUPDIR" + mv --backup=t "$CURRENTCONFIG" "$BACKUPDIR" echo "Backed up config!" fi