diff options
Diffstat (limited to 'src/remove_pkg.c')
| -rw-r--r-- | src/remove_pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove_pkg.c b/src/remove_pkg.c index 14e1f4a..ac723b3 100644 --- a/src/remove_pkg.c +++ b/src/remove_pkg.c @@ -61,7 +61,7 @@ static int remove_tree(const char *fpath, const struct stat *sb, int typeflag, } void remove_pkg(Pkg pkg) { - if (!file_exists(pkg.src)) { + if (!is_directory(pkg.src)) { printf("%s %s is not installed!\n", print_pkgit, pkg.name); return; } |
