mirror of
https://github.com/Jguer/yay
synced 2024-10-14 20:12:22 +00:00
commit
3579d3521a
|
@ -102,7 +102,7 @@ _pacman_opts_common=(
|
|||
'--mflags[Pass arguments to makepkg]:mflags'
|
||||
'--gpgflags[Pass arguments to gpg]:gpgflags'
|
||||
'--sudoloop[Loop sudo calls in the background to avoid timeout]'
|
||||
'--nosudoloop[Do not loop sudo calls in the backgrount]'
|
||||
'--nosudoloop[Do not loop sudo calls in the background]'
|
||||
)
|
||||
|
||||
# options for passing to _arguments: options for --upgrade commands
|
||||
|
|
|
@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) {
|
|||
err.mux.Unlock()
|
||||
}
|
||||
|
||||
// Return is used as a wrapper on return on wether to return the
|
||||
// Return is used as a wrapper on return on whether to return the
|
||||
// MultiError Structure if errors exist or nil instead of delivering an empty structure
|
||||
func (err *MultiError) Return() error {
|
||||
if len(err.Errors) > 0 {
|
||||
|
|
Loading…
Reference in a new issue