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:
Curtis Gedak 2010-01-08 10:59:04 -07:00
parent 5ff0b9d91d
commit 51d1c4c552
1 changed files with 1 additions and 1 deletions

View File

@ -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 ;
}