xbps_unregister_repository: return ENOENT if not found, not ENODEV.
--HG-- extra : convert_revision : c1be34bc1840ac351e8e2d301e2c71d247f0ea9c
This commit is contained in:
parent
5b841b8a7d
commit
d420d00081
2 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ xbps_unregister_repository(const char *uri)
|
|||
}
|
||||
} else {
|
||||
/* Not found. */
|
||||
errno = ENODEV;
|
||||
errno = ENOENT;
|
||||
}
|
||||
|
||||
prop_object_release(dict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue