Permalink
Browse files

Fix for issue #79.

Since spine syslogs the changes it would make in dryrun mode, it should syslog
that it's in dryrun mode so it's clear no changes were made.

Patch provided by Alex Toth (atoth).
  • Loading branch information...
1 parent a5c26bf commit a47c72b2b54b7529ad7057e5f553d1e5ad778e00 cfb committed Nov 5, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 spine-config
View
@@ -411,6 +411,7 @@ print 'spine: starting Spine v' . $VERSION . ' -- configuration release ',
print "spine: initializing data for $hostname\n";
if ( ${%{$registry->get_options()}->{dryrun}} ) {
print "spine: running in dryrun mode\n";
+ syslog("info", "running in dryrun mode");
}
# Create the configuration object.

0 comments on commit a47c72b

Please sign in to comment.