We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac7036 commit f4570bbCopy full SHA for f4570bb
cmd/makemac/makemac.go
@@ -585,15 +585,23 @@ func autoAdjust() {
585
ctx, cancel := context.WithTimeout(context.Background(), autoAdjustTimeout)
586
defer cancel()
587
588
+ ro := isFileSystemReadOnly()
589
+
590
st, err := getState(ctx)
591
if err != nil {
592
status.Lock()
593
+ if ro {
594
+ status.errors = append(status.errors, "Host filesystem is read-only")
595
+ }
596
status.errors = []string{err.Error()}
597
status.Unlock()
598
log.Print(err)
599
return
600
}
601
var warnings, errors []string
602
603
+ errors = append(errors, "Host filesystem is read-only")
604
605
defer func() {
606
// Set status.lastState once we're now longer using it.
607
if st != nil {
0 commit comments