mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 06:58:01 +02:00
2024-11-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdautoback(8) that caused it to crash when run on Python 3.6. * Fixed a regression in rdautorest(8) that caused it to crash when run on Python 3.6. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
6ce6b3ad2b
commit
823f058d7b
@ -24925,3 +24925,8 @@
|
||||
* Incremented the package version to 4.3.0int6.
|
||||
2024-10-23 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an 'hpiplayout_test' command in 'tests/'.
|
||||
2024-11-05 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdautoback(8) that caused it to crash when
|
||||
run on Python 3.6.
|
||||
* Fixed a regression in rdautorest(8) that caused it to crash when
|
||||
run on Python 3.6.
|
||||
|
@ -50,10 +50,10 @@ syslog.syslog(syslog.LOG_INFO,'Starting Rivendell backup to "'+mountpoint+'"')
|
||||
# Mount backup device
|
||||
#
|
||||
result=os.system(command='findmnt '+mountpoint)
|
||||
if(os.waitstatus_to_exitcode(result)!=0):
|
||||
if(os.WEXITSTATUS(result)!=0):
|
||||
Path(mountpoint).mkdir(parents=True,exist_ok=True)
|
||||
result=os.system(command='mount '+mountpoint)
|
||||
if(os.waitstatus_to_exitcode(result)!=0):
|
||||
if(os.WEXITSTATUS(result)!=0):
|
||||
syslog.syslog(syslog.LOG_ERR,'unable to mount backup drive')
|
||||
exit(1)
|
||||
os.system(command='sleep 5')
|
||||
|
@ -75,10 +75,10 @@ syslog.syslog(syslog.LOG_INFO,'Starting Rivendell restore from "'+mountpoint+'"'
|
||||
# Mount backup device
|
||||
#
|
||||
result=os.system(command='findmnt '+mountpoint)
|
||||
if(os.waitstatus_to_exitcode(result)!=0):
|
||||
if(os.WEXITSTATUS(result)!=0):
|
||||
Path(mountpoint).mkdir(parents=True,exist_ok=True)
|
||||
result=os.system(command='mount '+mountpoint)
|
||||
if(os.waitstatus_to_exitcode(result)!=0):
|
||||
if(os.WEXITSTATUS(result)!=0):
|
||||
syslog.syslog(syslog.LOG_ERR,'unable to mount backup drive')
|
||||
exit(1)
|
||||
os.system(command='sleep 5')
|
||||
|
Loading…
x
Reference in New Issue
Block a user