mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 06:05:56 -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…
Reference in New Issue
Block a user