From a22d86f9f7625e99cd9f09bedb4d964039d2c732 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 3 Nov 2005 09:37:17 +0000 Subject: [PATCH] check for defined commands --- sa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa b/sa index 53f9f72..0557d25 100755 --- a/sa +++ b/sa @@ -124,6 +124,6 @@ while (my ($repo,$run_after) = each(%repos)) { ); } if ($command =~ /^up(?:date)|checkout$/) { - system($run_after,$repo); + system($run_after,$repo) if defined $run_after and length $run_after; } } -- 2.39.2