Skip to content

Commit

Permalink
Fix RC scripts being started on deinstall rather than stopped
Browse files Browse the repository at this point in the history
Reported by:	gwollman
  • Loading branch information
bdrewery committed Aug 18, 2014
1 parent b98d0e9 commit 2a19260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkg_add.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ pkg_add_cleanup_old(struct pkg *old, struct pkg *new, int flags)

handle_rc = pkg_object_bool(pkg_config_get("HANDLE_RC_SCRIPTS"));
if (handle_rc)
pkg_start_stop_rc_scripts(old, PKG_RC_START);
pkg_start_stop_rc_scripts(old, PKG_RC_STOP);

/*
* Execute pre deinstall scripts
Expand Down

0 comments on commit 2a19260

Please sign in to comment.