diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2016-10-07 20:30:10 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-07 11:30:10 -0700 |
commit | efae58a4efda9d21a62a4710ee59207a1624d7ea (patch) | |
tree | cc48c5483a33342fda78b5b731fbc05db1077dac | |
parent | dbc864c9db38a363a68c6a140d957a2b24a7a2ff (diff) | |
download | spack-efae58a4efda9d21a62a4710ee59207a1624d7ea.tar.gz spack-efae58a4efda9d21a62a4710ee59207a1624d7ea.tar.bz2 spack-efae58a4efda9d21a62a4710ee59207a1624d7ea.tar.xz spack-efae58a4efda9d21a62a4710ee59207a1624d7ea.zip |
fixes #858 (#1961)
Fix spack uninstall -f
-rw-r--r-- | lib/spack/spack/cmd/uninstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/uninstall.py b/lib/spack/spack/cmd/uninstall.py index 8957d1c908..e42c5776b5 100644 --- a/lib/spack/spack/cmd/uninstall.py +++ b/lib/spack/spack/cmd/uninstall.py @@ -99,7 +99,7 @@ def concretize_specs(specs, allow_multiple_matches=False, force=False): has_errors = True # No installed package matches the query - if len(matching) == 0 and not force: + if len(matching) == 0: tty.error("%s does not match any installed packages." % spec) has_errors = True |