diff options
| author | Antonio Diaz Diaz <antonio@gnu.org> | 2018-08-23 00:27:38 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2018-08-23 00:32:40 +0200 |
| commit | fc5a2ea7ab7dedb52cc7fbe561d16b81bbc17a59 (patch) | |
| tree | ce7190f60f715a2fcda6fc83ebcfa806403ef198 | |
| parent | faf885b533af24b0e6688a03d10088348ec8458f (diff) | |
| download | krusader-fc5a2ea7ab7dedb52cc7fbe561d16b81bbc17a59.tar.gz krusader-fc5a2ea7ab7dedb52cc7fbe561d16b81bbc17a59.zip | |
Fix error in logic that type == -xz is tested in two branches
of an if..else statement.
Signed-off-by: Antonio Diaz Diaz <antonio@gnu.org>
| -rw-r--r-- | krusader/VFS/krarchandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krusader/VFS/krarchandler.cpp b/krusader/VFS/krarchandler.cpp index 0656744..1e744f2 100644 --- a/krusader/VFS/krarchandler.cpp +++ b/krusader/VFS/krarchandler.cpp @@ -627,7 +627,7 @@ bool KRarcHandler::checkStatus( TQString type, int exitCode ) { return exitCode == 0 || exitCode == 1; else if( type == "-ace" || type == "zip2" || type == "-lha" || type == "-rpm" || type == "cpio" || type == "-tar" || type == "tarz" || type == "-tbz" || type == "-tgz" || type == "-arj" || - type == "-deb" || type == "-txz" || type == "-xz") + type == "-deb" || type == "-txz") return exitCode == 0; else if (type == "gzip" || type == "-xz") return exitCode == 0 || exitCode == 2; |
