OBS-URL: https://build.opensuse.org/request/show/517663 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/vbrfix?expand=0&rev=1
26 lines
479 B
Diff
26 lines
479 B
Diff
Return error conditions including in the case of not changing a file.
|
|
--- a/vbrfixc/vbrfix.cpp
|
|
+++ b/vbrfixc/vbrfix.cpp
|
|
@@ -73,6 +73,9 @@
|
|
endFix();
|
|
return false;
|
|
}
|
|
+ catch (...) {
|
|
+ return false;
|
|
+ }
|
|
return true;
|
|
}
|
|
void VbrFix::endFix(){
|
|
@@ -113,7 +116,10 @@
|
|
catch(const char* err){
|
|
if(err!=NULL)loge(err);
|
|
endFix();
|
|
- return false;
|
|
+ exit(-1);//return false;
|
|
+ }
|
|
+ catch (...) {
|
|
+ exit(-1);//return false;
|
|
}
|
|
return false;
|
|
}
|