diff options
Diffstat (limited to 'nix-utils.sh')
-rw-r--r-- | nix-utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-utils.sh b/nix-utils.sh index 2d84a43..7cd1bb2 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -37,7 +37,7 @@ explain() { } grep_generation() { - $* | grep current | cut -d " " -f 2 + $* | grep current | sed -r 's,\s*([0-9]*)(.*),\1,' } current_system_generation() { |