Now swim won't exit when a package is not installed, so that -qi or -ql works

without stopping.
This commit is contained in:
freesource
2001-10-18 05:24:25 +00:00
parent cd139b15eb
commit bb7ee96ce4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ sub description {
}
else {
print "package $argument is not installed\n";
exit;
return "not installed";
}
}
untie %db;
+1 -1
View File
@@ -532,7 +532,7 @@ sub file {
if (defined $argument) {
if (!defined $db{"$argument"}) {
print "package $argument is not installed\n";
exit;
return "not installed";
}
}
nfile(\%commands);