fix bugs in config.example and install.sh

This commit is contained in:
2026-08-22 02:45:04 +02:00
parent e613532322
commit 8f83861965
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ PBS_PASSWORD='XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
PBS_DATASTORE='backup'
PBS_NAMESPACE='MyBackups'
BACKUP=['root.pxar:/', 'data.pxar:/mnt/data']
BACKUP=('root.pxar:/' 'data.pxar:/mnt/data')
+1 -1
View File
@@ -42,7 +42,7 @@ chmod o= "$TMPDIR/config.example"
"$TMPDIR/pbc" install
rc=$?
if (( $? != 0 )); then
if (( $rc != 0 )); then
echo "Error installing pbc requirements!" >&2
exit $rc
fi