Skip to content

Commit 6abf489

Browse files
committed
Adjust return value of script
1 parent 6fe6d51 commit 6abf489

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/update.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
command => "echo ${apt::provider} updated the package cache.",
7171
loglevel => $apt::_update['loglevel'],
7272
logoutput => 'on_failure',
73-
path => '/bin:/usr/bin',
73+
path => '/bin:/sbin:/usr/bin:/usr/sbin',
7474
provider => shell,
7575
refreshonly => $_refresh,
7676
timeout => $apt::_update['timeout'],

spec/acceptance/apt_backports_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
command => epp('apt/update_had_no_effect.sh.epp'),
1111
logoutput => true,
1212
provider => shell,
13-
returns => [-1],
13+
returns => [0, 1],
1414
}
1515
MANIFEST
1616
end

0 commit comments

Comments
 (0)