mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-09-11 17:07:43 +03:00
Main.vala: Turn the initial btrfs quota error into a message if we
think we know what the error is. The error messages aren't localized, but they may change.
This commit is contained in:
parent
3e0b785860
commit
02240c1898
@ -4107,6 +4107,10 @@ public class Main : GLib.Object{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ret_val != 0){
|
if (ret_val != 0){
|
||||||
|
if (std_err.contains("not enabled")) {
|
||||||
|
log_msg("btrfs: Quotas are not enabled");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
log_error (std_err);
|
log_error (std_err);
|
||||||
log_error(_("btrfs returned an error") + ": %d".printf(ret_val));
|
log_error(_("btrfs returned an error") + ": %d".printf(ret_val));
|
||||||
log_error(_("Failed to query subvolume quota"));
|
log_error(_("Failed to query subvolume quota"));
|
||||||
|
Loading…
Reference in New Issue
Block a user