2026-01-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdautoback(8) that would generate an incorrect
	'AudioStorage=' metadata value if the audio store contained
	sub directories.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2026-01-13 09:23:37 -05:00
parent 2f70c4df80
commit d427b11ed9
2 changed files with 5 additions and 1 deletions

View File

@@ -25117,3 +25117,7 @@
2026-01-13 Fred Gleason <fredg@paravelsystems.com> 2026-01-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdautoback(8) that threw an exception when operating * Fixed a bug in rdautoback(8) that threw an exception when operating
with a database version less than 353. with a database version less than 353.
2026-01-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdautoback(8) that would generate an incorrect
'AudioStorage=' metadata value if the audio store contained
sub directories.

View File

@@ -97,7 +97,7 @@ def BackupMountpoint(mntpt):
else: else:
f.write('RealmName=NULL\n') f.write('RealmName=NULL\n')
db.close() db.close()
with os.popen('du -h '+mntpt+'/snd',mode='r') as f1: with os.popen('du -hd 0 '+mntpt+'/snd',mode='r') as f1:
values=f1.read().split('\t') values=f1.read().split('\t')
f.write('AudioStorage='+values[0]+'\n') f.write('AudioStorage='+values[0]+'\n')
f1.close() f1.close()