forked from Elara6331/infinitime
		
	Fix error handling in (*FS).Remove()
This commit is contained in:
		@@ -46,8 +46,8 @@ func (blefs *FS) Remove(path string) error {
 | 
				
			|||||||
		// Read status byte
 | 
							// Read status byte
 | 
				
			||||||
		return decode(data, &status)
 | 
							return decode(data, &status)
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
	if status == FSStatusError {
 | 
						if status != FSStatusOk {
 | 
				
			||||||
	// If status is not ok, return error
 | 
							// If status is not ok, return error
 | 
				
			||||||
		return FSError{status}
 | 
							return FSError{status}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return nil
 | 
						return nil
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user