Skip to content

Commit

Permalink
use full path for patchman-client (furlongm#174)
Browse files Browse the repository at this point in the history
Some exception happen on "apt-get dist-upgrade" where patchman-client not found because /usr/sbin not in $PATH variable.
  • Loading branch information
BololZ authored Feb 6, 2020
1 parent 9f5c079 commit 6a3fd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/apt/05patchman
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DPkg::Post-Invoke { "if [ -x /usr/sbin/patchman-client ]; then echo 'Sending report to patchman server ...'; patchman-client -n ; fi"; };
DPkg::Post-Invoke { "if [ -x /usr/sbin/patchman-client ]; then echo 'Sending report to patchman server ...'; /usr/sbin/patchman-client -n ; fi"; };

0 comments on commit 6a3fd4b

Please sign in to comment.