commit | cede78748291a8b5ae0dd0dc34c95da4a72fb3ea | [log] [tgz] |
---|---|---|
author | Ian Wienand <iwienand@redhat.com> | Wed Jul 22 13:36:12 2015 +1000 |
committer | Ian Wienand <iwienand@redhat.com> | Thu Jul 23 06:46:24 2015 +1000 |
tree | edb95ec50f80d2d72499acfac0438984dce5df39 | |
parent | f44a024f022d843fd204da6e23b4a98a142c07f3 [diff] [blame] |
Add file creation test Ensure that iniadd is creating files that don't exist, as it has historically done. Change-Id: I2798996f3d46ff1dce410b815a87395f1bf729f9
diff --git a/inc/ini-config b/inc/ini-config index d23f474..58386e2 100644 --- a/inc/ini-config +++ b/inc/ini-config
@@ -159,6 +159,7 @@ # Set an option in an INI file # iniset [-sudo] config-file section option value +# - if the file does not exist, it is created function iniset { local xtrace=$(set +o | grep xtrace) set +o xtrace