Skip to content
Browse files

a little bit DRYer

  • Loading branch information...
1 parent ef4fe80 commit 4144b9eb09b3768d9bc41fdaa82495a111d9ffca @lwille committed Dec 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 usr/sbin/resolver
View
2 usr/sbin/resolver
@@ -24,7 +24,7 @@ config['files'].each do |k,file|
end
puts "\tclosing #{file['path']}"
fd.close
- unless file['after'].nil? || file['after'].empty?
+ unless file['after'].blank?
system file['after']
end
end

0 comments on commit 4144b9e

Please sign in to comment.
Something went wrong with that request. Please try again.