summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/nvme-cli.postrm1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/nvme-cli.postrm b/debian/nvme-cli.postrm
index 56e377c..79c2438 100755
--- a/debian/nvme-cli.postrm
+++ b/debian/nvme-cli.postrm
@@ -6,6 +6,7 @@ case "${1}" in
purge)
rm -f /etc/nvme/hostnqn
rm -f /etc/nvme/hostid
+ rmdir /etc/nvme > /dev/null 2>&1 || true
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)