Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

formatting and clear out the stderr

  • Loading branch information...
commit 744a22e732a52072e62fa4436e880b6d7fa2025c 1 parent 2e55fef
@Kaixiang Kaixiang authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  warden/root/linux/skeleton/destroy.sh
  2. +1 −1  warden/src/wsh/mount.c
View
2  warden/root/linux/skeleton/destroy.sh
@@ -44,7 +44,7 @@ then
if [ -d $path ]
then
# Remove nested cgroups for nested-warden
- rmdir $path/instance* || true
+ rmdir $path/instance* 2> /dev/null || true
rmdir $path
fi
done
View
2  warden/src/wsh/mount.c
@@ -132,7 +132,7 @@ int mount_umount_pivoted_root(const char *path) {
for (retry = 0; rv == -1 && retry < 4; retry++) {
if (errno != EBUSY) {
- break;
+ break;
}
sleep(1);
fprintf(stdout, "umount(%s):retry due to EBUSY\n", dst.mount_lines[i]);
Please sign in to comment.
Something went wrong with that request. Please try again.