Skip to content

Instantly share code, notes, and snippets.

View FlowRunner1's full-sized avatar
🪐

FlowRunner1 FlowRunner1

🪐
View GitHub Profile
#!/bin/bash
set -e
for i in {1..30}; do
[ -d "/workspace" ] && [ -w "/workspace" ] && break
sleep 2
done
[ ! -w "/workspace" ] && exit 1