don't commit with DEBUG=1
[dell-switch] / sbw-parse.pl
index 13dccf5..979cc47 100755 (executable)
@@ -312,4 +312,4 @@ print $dot_fh qq|
 |;
 
 system "dot -Tsvg /dev/shm/network.dot > /var/www/network.svg";
-system 'git -C /dev/shm commit -m $( date +%Y-%m-%d ) network.dot';
+system 'git -C /dev/shm commit -m $( date +%Y-%m-%d ) network.dot' if ! $debug;