Permalink
Browse files

formatting and clear out the stderr

  • Loading branch information...
Kaixiang committed Nov 13, 2013
1 parent 2e55fef commit 744a22e732a52072e62fa4436e880b6d7fa2025c
Showing with 2 additions and 2 deletions.
  1. +1 −1 warden/root/linux/skeleton/destroy.sh
  2. +1 −1 warden/src/wsh/mount.c
@@ -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
@@ -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]);

0 comments on commit 744a22e

Please sign in to comment.