summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout/unix.rb
diff options
context:
space:
mode:
authorMoser, Kevin <Kevin.Moser@nordstrom.com>2013-03-13 12:47:19 -0700
committerMoser, Kevin <Kevin.Moser@nordstrom.com>2013-03-13 12:47:19 -0700
commit9ba15865d7080e423ece5f418c37f512c1118727 (patch)
tree1ab8c33e53d655312a4080f7dc4b91a8fe4c0a36 /lib/mixlib/shellout/unix.rb
parentc98695c6abf3384ae823a991d991151d92d5720f (diff)
downloadmixlib-shellout-9ba15865d7080e423ece5f418c37f512c1118727.tar.gz
Add option validation
Diffstat (limited to 'lib/mixlib/shellout/unix.rb')
-rw-r--r--lib/mixlib/shellout/unix.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb
index a983e05..776169d 100644
--- a/lib/mixlib/shellout/unix.rb
+++ b/lib/mixlib/shellout/unix.rb
@@ -20,6 +20,11 @@ module Mixlib
class ShellOut
module Unix
+ # Option validation that is unix specific
+ def validate_options(opts)
+ # No options to validate, raise exceptions here if needed
+ end
+
# Run the command, writing the command's standard out and standard error
# to +stdout+ and +stderr+, and saving its exit status object to +status+
# === Returns