-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from AkihiroSuda/a
Fix v20190603.0 regression
- Loading branch information
Showing
6 changed files
with
116 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
# clean up (workaround for crash of previously running instances) | ||
( | ||
if ! [[ -w $XDG_RUNTIME_DIR ]]; then | ||
echo &>2 "XDG_RUNTIME_DIR needs to be set and writable" | ||
exit 1 | ||
fi | ||
rootlesskit=$(realpath $(dirname $0))/bin/rootlesskit | ||
cd $XDG_RUNTIME_DIR | ||
$rootlesskit rm -rf docker docker.* containerd runc crio usernetes | ||
) | ||
exec $(dirname $0)/bin/task $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters