Merge pull request #1052 from tomswartz07/master

Fix Typos
This commit is contained in:
Anna 2019-10-10 09:30:58 +01:00 committed by GitHub
commit 3579d3521a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 {