mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
Use printf instead of "echo -e" in pairinghelper.sh
- should work across platforms
This commit is contained in:
parent
5cea89a8d4
commit
044d25dbf1
@ -56,7 +56,7 @@ if [ -z "$pin" ]; then
|
||||
fi
|
||||
|
||||
echo "Writing pair.remote to $library_path..."
|
||||
echo "$remote\n$pin" > "$library_path/pair.remote"
|
||||
printf "$remote\n$pin" > "$library_path/pair.remote"
|
||||
sleep 1
|
||||
echo "Removing pair.remote from library again..."
|
||||
rm "$library_path/pair.remote"
|
||||
|
Loading…
x
Reference in New Issue
Block a user