summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-04-15 00:27:42 +0200
committerDirk Engling <erdgeist@erdgeist.org>2015-04-15 00:27:42 +0200
commit9353a5e1cb460ad98d91e77221c3aedcc40673d2 (patch)
treee6b1ce3cb01fc23b7fccc159cebc7b003df24e79 /ezjail-admin
parent3674126d9c258def8c7b2760fc9d2c00e23e9a01 (diff)
Fix grep syntax in freeze subcommand
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 67b75e7..3e209b5 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1286,7 +1286,7 @@ freeze)
1286 # TODO: This assumes no files have been deleted from when the jail was initially created. Safe assumption for now. 1286 # TODO: This assumes no files have been deleted from when the jail was initially created. Safe assumption for now.
1287 # TODO: This assumes no files have been renamed from when the jail was initially created. Not so sure. 1287 # TODO: This assumes no files have been renamed from when the jail was initially created. Not so sure.
1288 /sbin/zfs diff -H "${ezjail_parentzfs}/${ezjail_hostname}@_vanilla_newjail_" "${ezjail_parentzfs}/${ezjail_hostname}" | \ 1288 /sbin/zfs diff -H "${ezjail_parentzfs}/${ezjail_hostname}@_vanilla_newjail_" "${ezjail_parentzfs}/${ezjail_hostname}" | \
1289 grep -E "^(M|+)" | cut -f 2 | cpio -d -m -p -v "${ezjail_flavours_dir}/${ezjail_flavour}" 1289 grep -E "^[M+]" | cut -f 2 | cpio -d -m -p -v "${ezjail_flavours_dir}/${ezjail_flavour}"
1290 1290
1291;; 1291;;
1292######################## ezjail-admin SNAPSHOT ######################## 1292######################## ezjail-admin SNAPSHOT ########################