Zachary Kotlarek 13 lat temu
rodzic
commit
18bb57f655
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      dmx/garage.pl
  2. 1 1
      dmx/state.pl

+ 1 - 1
dmx/garage.pl

@@ -91,7 +91,7 @@ while (1) {
 	# Special handling for toggle systems: only push if the state is "ACTIVATE"
 	if ($update && $state ne 'ACTIVATE') {
 		if ($DEBUG) {
-			print STDERR 'Skipping non-activate state: ' . $state "\n";
+			print STDERR 'Skipping non-activate state: ' . $state . "\n";
 		}
 		$update = 0;
 	}

+ 1 - 1
dmx/state.pl

@@ -79,7 +79,7 @@ foreach my $file (keys(%MON_FILES)) {
 
 	# Allow absolute paths to override the $DATA_DIR path
 	if ($file =~ /^\//) {
-		$tmp{$path} = $file;
+		$tmp{'path'} = $file;
 	}
 
 	$files{$file} = \%tmp;