summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mixlib/shellout.rb')
-rw-r--r--lib/mixlib/shellout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb
index dc186a2..19be8f2 100644
--- a/lib/mixlib/shellout.rb
+++ b/lib/mixlib/shellout.rb
@@ -248,7 +248,7 @@ module Mixlib
# running or died without setting an exit status (e.g., terminated by
# `kill -9`).
def exitstatus
- @status && @status.exitstatus
+ @status&.exitstatus
end
# Run the command, writing the command's standard out and standard error