Ensure commit_to_os() return code is passed up through commit() method
This problem was discovered while investigating bug #604298
This commit is contained in:
parent
5ff0b9d91d
commit
51d1c4c552
|
@ -2750,7 +2750,7 @@ bool GParted_Core::commit()
|
|||
{
|
||||
bool succes = ped_disk_commit_to_dev( lp_disk ) ;
|
||||
|
||||
commit_to_os( 10 ) ;
|
||||
succes = commit_to_os( 10 ) && succes ;
|
||||
|
||||
return succes ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue