Fix popd warning when there's only 1 pushed folder ##shell

This commit is contained in:
Tony O 2023-11-10 11:24:10 +00:00 committed by GitHub
parent f0d0eb89be
commit db87e77551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -625,7 +625,6 @@ R_API bool r_syscmd_popd(void) {
if (r_list_empty (dirstack)) {
r_list_free (dirstack);
dirstack = NULL;
return false;
}
return true;
}