aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt25
1 files changed, 5 insertions, 0 deletions
diff --git a/iurt2 b/iurt2
index 94f6d49..f0457c4 100755
--- a/iurt2
+++ b/iurt2
@@ -510,6 +510,11 @@ do {
$rebuild = 0;
foreach (my $i ; $i < @{$run{todo}}; $i++) {
my ($dir, $srpm, $status) = @{$run{todo}[$i]};
+
+ # Set argv[0] (in the C sense) to something we can easily spot and
+ # understand when running ps --claudio
+ $0 = "Iurt: $run{distro_tag} $run{my_arch} $run{media} $srpm";
+
$status or next;
$done{$srpm} and next;
$done{$srpm} = 1;