#!/bin/bash

while ! bash -c "$1"; do
  sleep 1
done
