aboutsummaryrefslogtreecommitdiff
path: root/sboconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sboconfig')
-rwxr-xr-xsboconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboconfig b/sboconfig
index 3088592..ebeccd5 100755
--- a/sboconfig
+++ b/sboconfig
@@ -130,7 +130,7 @@ if (exists $changes{SLACKWARE_VERSION}) {
# each option specified to the script.
sub config_write {
my ($key, $val) = @_;
- @_ == 2 or script_error('config_write requires two arguments.');
+ script_error('config_write requires two arguments.') unless @_ == 2;
if (! -d $conf_dir) {
mkdir $conf_dir or usage_error("Unable to create $conf_dir. Exiting.");
}