mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
Use printf instead of "echo -e" in pairinghelper.sh
- should work across platforms
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user