mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-08-16 20:10:39 +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 (std_err.contains("not enabled")) {
|
||||
log_msg("btrfs: Quotas are not enabled");
|
||||
return false;
|
||||
}
|
||||
log_error (std_err);
|
||||
log_error(_("btrfs returned an error") + ": %d".printf(ret_val));
|
||||
log_error(_("Failed to query subvolume quota"));
|
||||
|
Loading…
Reference in New Issue
Block a user