diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-11-09 16:51:15 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-11-09 16:51:15 +0530 |
commit | 6b3d5bf909d060ab1bdabebb7f442e91adf552fe (patch) | |
tree | 22823de2b3e9cd98ba99e9b46e42287167cd48d9 /build-gluster-org/scripts | |
parent | 4020c9a4ac2f067ba9297b606d699e0bbcf21339 (diff) |
Add sudo
Change-Id: Ia3eec6312a854548f9eff45e6f8a58a1526701ae
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r-- | build-gluster-org/scripts/rpm-cleanup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-gluster-org/scripts/rpm-cleanup.sh b/build-gluster-org/scripts/rpm-cleanup.sh index bd300c7..b785ade 100644 --- a/build-gluster-org/scripts/rpm-cleanup.sh +++ b/build-gluster-org/scripts/rpm-cleanup.sh @@ -1,6 +1,6 @@ #!/bin/sh -pkill mock || true +sudo pkill mock || true SLEEP=0 while [ $SLEEP -lt 30 ] do @@ -14,4 +14,4 @@ do SLEEP=$((SLEEP+1)) done echo "Force-killing mock" -pkill -9 mock +sudo pkill -9 mock |