diff options
author | Guillem Jover <guillem@debian.org> | 2013-10-12 10:34:15 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-10-14 05:54:21 +0200 |
commit | 0c977fa968be04424ddfd33445b9e4d72348bfaf (patch) | |
tree | 0d82f24c15b9cc55f8b78c9fe453155502ddc783 /dselect | |
parent | 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e (diff) | |
download | dpkg-0c977fa968be04424ddfd33445b9e4d72348bfaf.tar.gz |
libdpkg: Add dpkg-based program startup and shutdown functions
These will perform any necessary action when starting and exiting a
dpkg-based program.
Diffstat (limited to 'dselect')
-rw-r--r-- | dselect/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/main.cc b/dselect/main.cc index 5fbbf4741..ff84cb60b 100644 --- a/dselect/main.cc +++ b/dselect/main.cc @@ -24,7 +24,6 @@ #include <compat.h> #include <sys/types.h> -#include <sys/stat.h> #include <sys/wait.h> #include <assert.h> @@ -536,6 +535,7 @@ main(int, const char *const *argv) } cursesoff(); - standard_shutdown(); + dpkg_program_done(); + return(0); } |